Share via


ActionFilterAttribute.OnResultExecuted Method

Called by the MVC framework after the action result executes.

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

Syntax

'Declaration
Public Overridable Sub OnResultExecuted ( _
    filterContext As ResultExecutedContext _
)
public virtual void OnResultExecuted(
    ResultExecutedContext filterContext
)
public:
virtual void OnResultExecuted(
    ResultExecutedContext^ filterContext
)

Parameters

Implements

IResultFilter.OnResultExecuted(ResultExecutedContext)

Remarks

The OnResultExecuting method is called just before the ActionResult instance that is returned by your action is invoked. The OnResultExecuted method is called just after the result is executed. These methods are useful for performing actions such as logging and output caching.

See Also

Reference

ActionFilterAttribute Class

System.Web.Mvc Namespace