ActionFilterAttribute.OnActionExecuting Method
Visual Studio 2010
Called by the MVC framework before the action method executes.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Parameters
- filterContext
- Type: System.Web.Mvc.ActionExecutingContext
The filter context.
Implements
IActionFilter.OnActionExecuting(ActionExecutingContext)The ASP.NET MVC framework will call the OnActionExecuting method of your action filter before it calls any action method that is marked with your action filter attribute. Similarly, the framework will call the OnActionExecuted method after the action method has finished.
Community Additions
ADD
Show: