Udostępnij za pośrednictwem


ControllerActionInvoker.InvokeAuthorizationFilters Method

Invokes the specified authorization filters by using the specified action descriptor and controller context.

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

Syntax

'Declaration
Protected Overridable Function InvokeAuthorizationFilters ( _
    controllerContext As ControllerContext, _
    filters As IList(Of IAuthorizationFilter), _
    actionDescriptor As ActionDescriptor _
) As AuthorizationContext
protected virtual AuthorizationContext InvokeAuthorizationFilters(
    ControllerContext controllerContext,
    IList<IAuthorizationFilter> filters,
    ActionDescriptor actionDescriptor
)
protected:
virtual AuthorizationContext^ InvokeAuthorizationFilters(
    ControllerContext^ controllerContext, 
    IList<IAuthorizationFilter^>^ filters, 
    ActionDescriptor^ actionDescriptor
)

Parameters

Return Value

Type: System.Web.Mvc.AuthorizationContext
The context for the AuthorizeAttribute object.

See Also

Reference

ControllerActionInvoker Class

System.Web.Mvc Namespace