ChildActionOnlyAttribute.OnAuthorization Method
Called when authorization is required.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Sub OnAuthorization ( _
filterContext As AuthorizationContext _
)
public void OnAuthorization(
AuthorizationContext filterContext
)
public:
virtual void OnAuthorization(
AuthorizationContext^ filterContext
) sealed
Parameters
- filterContext
Type: System.Web.Mvc.AuthorizationContext
An object that encapsulates the information that is required in order to authorize access to the child action.
Implements
IAuthorizationFilter.OnAuthorization(AuthorizationContext)