CookieExceptionContext Constructor (IOwinContext, CookieAuthenticationOptions, CookieExceptionContext.ExceptionLocation, Exception, AuthenticationTicket)
Creates a new instance of the context object.
Namespace: Microsoft.Owin.Security.Cookies
Assembly: Microsoft.Owin.Security.Cookies (in Microsoft.Owin.Security.Cookies.dll)
Syntax
public CookieExceptionContext(
IOwinContext context,
CookieAuthenticationOptions options,
CookieExceptionContext.ExceptionLocation location,
Exception exception,
AuthenticationTicket ticket
)
public:
CookieExceptionContext(
IOwinContext^ context,
CookieAuthenticationOptions^ options,
CookieExceptionContext::ExceptionLocation location,
Exception^ exception,
AuthenticationTicket^ ticket
)
new :
context:IOwinContext *
options:CookieAuthenticationOptions *
location:CookieExceptionContext.ExceptionLocation *
exception:Exception *
ticket:AuthenticationTicket -> CookieExceptionContext
Public Sub New (
context As IOwinContext,
options As CookieAuthenticationOptions,
location As CookieExceptionContext.ExceptionLocation,
exception As Exception,
ticket As AuthenticationTicket
)
Parameters
context
Type: Microsoft.Owin.IOwinContextThe OWIN request context.
options
Type: Microsoft.Owin.Security.Cookies.CookieAuthenticationOptionsThe middleware options.
location
Type: Microsoft.Owin.Security.Cookies.CookieExceptionContext.ExceptionLocationThe location of the exception.
exception
Type: System.ExceptionThe exception thrown.
ticket
Type: Microsoft.Owin.Security.AuthenticationTicketThe current ticket, if any.
See Also
CookieExceptionContext Class
Microsoft.Owin.Security.Cookies Namespace
Return to top