Compartilhar via


Controller.IAuthorizationFilter.OnAuthorization Method

This API supports the MVC infrastructure and is not intended to be used directly from your code. This method calls the OnAuthorization method.

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

Syntax

'Declaration
Private Sub OnAuthorization ( _
    filterContext As AuthorizationContext _
) Implements IAuthorizationFilter.OnAuthorization
void IAuthorizationFilter.OnAuthorization(
    AuthorizationContext filterContext
)
private:
virtual void OnAuthorization(
    AuthorizationContext^ filterContext
) sealed = IAuthorizationFilter::OnAuthorization

Parameters

Implements

IAuthorizationFilter.OnAuthorization(AuthorizationContext)

Remarks

This member is an explicit interface member implementation. It can be used only when a derived Controller instance is cast to an IAuthorizationFilter interface.

See Also

Reference

Controller Class

System.Web.Mvc Namespace