ErrorPageOptions Class

Represents an error page options.

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Diagnostics.ErrorPageOptions

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

Syntax

'Declaration
Public Class ErrorPageOptions
'Usage
Dim instance As ErrorPageOptions
public class ErrorPageOptions
public ref class ErrorPageOptions
type ErrorPageOptions =  class end
public class ErrorPageOptions

The ErrorPageOptions type exposes the following members.

Constructors

  Name Description
Public method ErrorPageOptions Initializes a new instance of the ErrorPageOptions class.

Top

Properties

  Name Description
Public propertyStatic member ShowAll Returns a new instance of ErrorPageOptions with all visibility options enabled by default.
Public property ShowCookies Enables the enumeration of any parsed request cookies.
Public property ShowEnvironment Enables the enumeration of the OWIN environment values.
Public property ShowExceptionDetails Enables the display of exception types, messages, and stack traces.
Public property ShowHeaders Enables the enumeration of the request headers.
Public property ShowQuery Enables the enumeration of any parsed query values.
Public property ShowSourceCode Enabled the display of local source code around exception stack frames.
Public property SourceCodeLineCount Gets or sets the source code line count.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SetDefaultVisibility Sets the default visibility for options not otherwise specified.
Public method ToString (Inherited from Object.)

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.

See Also

Reference

Microsoft.Owin.Diagnostics Namespace