Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Called by the MVC framework before the action method executes.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Overridable Sub OnActionExecuting ( _
filterContext As ActionExecutingContext _
)
public virtual void OnActionExecuting(
ActionExecutingContext filterContext
)
public:
virtual void OnActionExecuting(
ActionExecutingContext^ filterContext
)
Parameters
- filterContext
Type: System.Web.Mvc.ActionExecutingContext
The filter context.
Implements
IActionFilter.OnActionExecuting(ActionExecutingContext)
Remarks
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.