Udostępnij za pośrednictwem


ActionFilterAttribute.OnActionExecuted Method

Called by the MVC framework after the action method executes.

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

Syntax

'Declaration
Public Overridable Sub OnActionExecuted ( _
    filterContext As ActionExecutedContext _
)
public virtual void OnActionExecuted(
    ActionExecutedContext filterContext
)
public:
virtual void OnActionExecuted(
    ActionExecutedContext^ filterContext
)

Parameters

Implements

IActionFilter.OnActionExecuted(ActionExecutedContext)

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.

See Also

Reference

ActionFilterAttribute Class

System.Web.Mvc Namespace