Freigeben über


Controller.OnAuthorization Method

Called when authorization occurs.

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

Syntax

'Declaration
Protected Overridable Sub OnAuthorization ( _
    filterContext As AuthorizationContext _
)
protected virtual void OnAuthorization(
    AuthorizationContext filterContext
)
protected:
virtual void OnAuthorization(
    AuthorizationContext^ filterContext
)

Parameters

See Also

Reference

Controller Class

System.Web.Mvc Namespace