Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ActionFilterAttribute::OnActionExecuting Method

Called by the ASP.NET MVC framework before the action method executes.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
public:
virtual void OnActionExecuting(
	ActionExecutingContext^ filterContext
)

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 the action method that is marked with your action filter attribute. Similarly, the framework will call the OnActionExecuted method after the action method has finished.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.