ActionFilterAttribute.OnResultExecuted Method (ResultExecutedContext)

 

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

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

Syntax

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

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

ActionFilterAttribute Class
System.Web.Mvc Namespace

Return to top