Поделиться через


ControllerActionInvoker.InvokeActionResultWithFilters Метод

Определение

Вызывает указанный результат действия, используя заданные фильтры действий и контекст контроллера.

protected virtual System.Web.Mvc.ResultExecutedContext InvokeActionResultWithFilters (System.Web.Mvc.ControllerContext controllerContext, System.Collections.Generic.IList<System.Web.Mvc.IResultFilter> filters, System.Web.Mvc.ActionResult actionResult);
abstract member InvokeActionResultWithFilters : System.Web.Mvc.ControllerContext * System.Collections.Generic.IList<System.Web.Mvc.IResultFilter> * System.Web.Mvc.ActionResult -> System.Web.Mvc.ResultExecutedContext
override this.InvokeActionResultWithFilters : System.Web.Mvc.ControllerContext * System.Collections.Generic.IList<System.Web.Mvc.IResultFilter> * System.Web.Mvc.ActionResult -> System.Web.Mvc.ResultExecutedContext
Protected Overridable Function InvokeActionResultWithFilters (controllerContext As ControllerContext, filters As IList(Of IResultFilter), actionResult As ActionResult) As ResultExecutedContext

Параметры

controllerContext
ControllerContext

Контекст контроллера.

filters
IList<IResultFilter>

Фильтры действий.

actionResult
ActionResult

Результат действия.

Возвращаемое значение

Контекст метода ResultExecuted ActionFilterAttribute класса .

Применяется к