Share via


ErrorPageMiddleware Class

 

Captures synchronous and asynchronous exceptions from the pipeline and generates HTML error responses.

Namespace:   Microsoft.Owin.Diagnostics
Assembly:  Microsoft.Owin.Diagnostics (in Microsoft.Owin.Diagnostics.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Diagnostics.ErrorPageMiddleware

Syntax

public class ErrorPageMiddleware
public ref class ErrorPageMiddleware 
type ErrorPageMiddleware = class end
Public Class ErrorPageMiddleware

Constructors

Name Description
System_CAPS_pubmethod ErrorPageMiddleware(Func<IDictionary<String, Object>, Task>, ErrorPageOptions, ILogger, Boolean)

Initializes a new instance of the ErrorPageMiddleware class

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod Invoke(IDictionary<String, Object>)

Process an individual request.

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Owin.Diagnostics Namespace

Return to top