Share via


AuthorizeAttribute.HandleUnauthorizedRequest Method (HttpActionContext)

 

Processes requests that fail authorization.

Namespace:   System.Web.Http
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

protected virtual void HandleUnauthorizedRequest(
    HttpActionContext actionContext
)
protected:
virtual void HandleUnauthorizedRequest(
    HttpActionContext^ actionContext
)
abstract HandleUnauthorizedRequest : 
        actionContext:HttpActionContext -> unit
override HandleUnauthorizedRequest : 
        actionContext:HttpActionContext -> unit
Protected Overridable Sub HandleUnauthorizedRequest (
    actionContext As HttpActionContext
)

Parameters

See Also

AuthorizeAttribute Class
System.Web.Http Namespace

Return to top