Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Called after the action method is invoked.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
protected virtual void OnActionExecuted(
ActionExecutedContext filterContext
)
protected:
virtual void OnActionExecuted(
ActionExecutedContext^ filterContext
)
abstract OnActionExecuted :
filterContext:ActionExecutedContext -> unit
override OnActionExecuted :
filterContext:ActionExecutedContext -> unit
Protected Overridable Sub OnActionExecuted (
filterContext As ActionExecutedContext
)
Parameters
filterContext
Type: System.Web.Mvc.ActionExecutedContextInformation about the current request and action.
Remarks
If this method is overridden in a derived Controller class, it will be called for every action method in the class. For more flexibility, derive a class from ActionFilterAttribute and override this method in the derived ActionFilterAttribute class.
See Also
Controller Class
System.Web.Mvc Namespace
Return to top