OnResultExecuted Method
Collapse the table of content
Expand the table of content

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)

abstract OnResultExecuted : 
        filterContext:ResultExecutedContext -> unit
override OnResultExecuted : 
        filterContext:ResultExecutedContext -> unit


Type: System.Web.Mvc.ResultExecutedContext

The filter context.

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.

Return to top
© 2016 Microsoft