ErrorPageExtensions Class

 

IAppBuilder extension methods for the ErrorPageMiddleware.

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

System::Object
  Owin::ErrorPageExtensions

[ExtensionAttribute]
public ref class ErrorPageExtensions abstract sealed 

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticUseErrorPage(IAppBuilder^)

Captures synchronous and asynchronous exceptions from the pipeline and generates HTML error responses. Full error details are only displayed by default if 'host.AppMode' is set to 'development' in the IAppBuilder.Properties.

System_CAPS_pubmethodSystem_CAPS_staticUseErrorPage(IAppBuilder^, ErrorPageOptions^)

Captures synchronous and asynchronous exceptions from the pipeline and generates HTML error responses. Full error details are only displayed by default if 'host.AppMode' is set to 'development' in the IAppBuilder.Properties.

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

Return to top
Show: