ChildActionOnlyAttribute::OnAuthorization Method

Called when authorization is required.

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

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)
Show: