ErrorPageExtensions Class
Provides extension methods for error page.
Inheritance Hierarchy
System.Object
Owin.ErrorPageExtensions
Namespace: Owin
Assembly: Microsoft.Owin.Diagnostics (in Microsoft.Owin.Diagnostics.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public NotInheritable Class ErrorPageExtensions
'Usage
public static class ErrorPageExtensions
[ExtensionAttribute]
public ref class ErrorPageExtensions abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type ErrorPageExtensions = class end
public final class ErrorPageExtensions
Methods
Name | Description | |
---|---|---|
![]() ![]() |
UseErrorPage(IAppBuilder) | Captures synchronous and asynchronous exceptions from the pipeline and generates HTML error responses. |
![]() ![]() |
UseErrorPage(IAppBuilder, ErrorPageOptions) | Captures synchronous and asynchronous exceptions from the pipeline and generates HTML error responses. |
Top
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.