共用方式為


ControllerActionInvoker.InvokeActionResultWithFilters Method

Invokes the specified action result by using the specified action filters and the controller context.

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

Syntax

'Declaration
Protected Overridable Function InvokeActionResultWithFilters ( _
    controllerContext As ControllerContext, _
    filters As IList(Of IResultFilter), _
    actionResult As ActionResult _
) As ResultExecutedContext
protected virtual ResultExecutedContext InvokeActionResultWithFilters(
    ControllerContext controllerContext,
    IList<IResultFilter> filters,
    ActionResult actionResult
)
protected:
virtual ResultExecutedContext^ InvokeActionResultWithFilters(
    ControllerContext^ controllerContext, 
    IList<IResultFilter^>^ filters, 
    ActionResult^ actionResult
)

Parameters

Return Value

Type: System.Web.Mvc.ResultExecutedContext
The context for the ResultExecuted method of the ActionFilterAttribute class.

See Also

Reference

ControllerActionInvoker Class

System.Web.Mvc Namespace