Share via


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
System_CAPS_pubmethod ErrorPageOptions()

Create an instance with the default options settings.

Properties

Name Description
System_CAPS_pubpropertySystem_CAPS_static ShowAll

Returns a new instance of ErrorPageOptions with all visibility options enabled by default.

System_CAPS_pubproperty ShowCookies

Enables the enumeration of any parsed request cookies.

System_CAPS_pubproperty ShowEnvironment

Enables the enumeration of the OWIN environment values.

System_CAPS_pubproperty ShowExceptionDetails

Enables the display of exception types, messages, and stack traces.

System_CAPS_pubproperty ShowHeaders

Enables the enumeration of the request headers.

System_CAPS_pubproperty ShowQuery

Enables the enumeration of any parsed query values.

System_CAPS_pubproperty ShowSourceCode

Enabled the display of local source code around exception stack frames.

System_CAPS_pubproperty 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
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_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod SetDefaultVisibility(Boolean)

Sets the default visibility for options not otherwise specified.

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