ErrorPageOptions Class
Options for the ErrorPageMiddleware
Namespace: Microsoft.Owin.Diagnostics
Assembly: Microsoft.Owin.Diagnostics (in Microsoft.Owin.Diagnostics.dll)
Inheritance Hierarchy
System.Object
Microsoft.Owin.Diagnostics.ErrorPageOptions
Syntax
public class ErrorPageOptions
public ref class ErrorPageOptions
type ErrorPageOptions = class end
Public Class ErrorPageOptions
Constructors
Name | Description | |
---|---|---|
![]() |
ErrorPageOptions() | Create an instance with the default options settings. |
Properties
Name | Description | |
---|---|---|
![]() ![]() |
ShowAll | Returns a new instance of ErrorPageOptions with all visibility options enabled by default. |
![]() |
ShowCookies | Enables the enumeration of any parsed request cookies. |
![]() |
ShowEnvironment | Enables the enumeration of the OWIN environment values. |
![]() |
ShowExceptionDetails | Enables the display of exception types, messages, and stack traces. |
![]() |
ShowHeaders | Enables the enumeration of the request headers. |
![]() |
ShowQuery | Enables the enumeration of any parsed query values. |
![]() |
ShowSourceCode | Enabled the display of local source code around exception stack frames. |
![]() |
SourceCodeLineCount | Determines how many lines of code to include before and after the line of code present in an exception's stack frame. Only applies when symbols are available and source code referenced by the exception stack trace is present on the server. |
Methods
Name | Description | |
---|---|---|
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
SetDefaultVisibility(Boolean) | Sets the default visibility for options not otherwise specified. |
![]() |
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