Jaa


CookieExceptionContext Class

 

Context object passed to the ICookieAuthenticationProvider method Exception.

Namespace:   Microsoft.Owin.Security.Cookies
Assembly:  Microsoft.Owin.Security.Cookies (in Microsoft.Owin.Security.Cookies.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Security.Provider.BaseContext<TOptions>
    Microsoft.Owin.Security.Cookies.CookieExceptionContext

Syntax

public class CookieExceptionContext : BaseContext<CookieAuthenticationOptions>
public ref class CookieExceptionContext : BaseContext<CookieAuthenticationOptions^>
type CookieExceptionContext = 
    class
        inherit BaseContext<CookieAuthenticationOptions>
    end
Public Class CookieExceptionContext
    Inherits BaseContext(Of CookieAuthenticationOptions)

Constructors

Name Description
System_CAPS_pubmethod CookieExceptionContext(IOwinContext, CookieAuthenticationOptions, CookieExceptionContext.ExceptionLocation, Exception, AuthenticationTicket)

Creates a new instance of the context object.

Properties

Name Description
System_CAPS_pubproperty Exception

The exception thrown.

System_CAPS_pubproperty Location

The code path the exception occurred in.

System_CAPS_pubproperty Options

(Inherited from BaseContext<TOptions>.)

System_CAPS_pubproperty OwinContext

(Inherited from BaseContext<TOptions>.)

System_CAPS_pubproperty Request

(Inherited from BaseContext<TOptions>.)

System_CAPS_pubproperty Response

(Inherited from BaseContext<TOptions>.)

System_CAPS_pubproperty Rethrow

True if the exception should be re-thrown (default), false if it should be suppressed.

System_CAPS_pubproperty Ticket

The current authentication ticket, if any. In the AuthenticateAsync code path, if the given exception is not re-thrown then this ticket will be returned to the application. The ticket may be replaced if needed.

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 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.Security.Cookies Namespace

Return to top