Share via


ActionFilterAttribute.OnActionExecuted Method (ActionExecutedContext)

 

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

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

public virtual void OnActionExecuted(
    ActionExecutedContext filterContext
)
public:
virtual void OnActionExecuted(
    ActionExecutedContext^ filterContext
)
abstract OnActionExecuted : 
        filterContext:ActionExecutedContext -> unit
override OnActionExecuted : 
        filterContext:ActionExecutedContext -> unit
Public Overridable Sub OnActionExecuted (
    filterContext As ActionExecutedContext
)

Parameters

Implements

IActionFilter.OnActionExecuted(ActionExecutedContext)

Remarks

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.

See Also

ActionFilterAttribute Class
System.Web.Mvc Namespace

Return to top