Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ActionFilterAttribute.OnResultExecuting Method

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

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
abstract OnResultExecuting : 
        filterContext:ResultExecutingContext -> unit  
override OnResultExecuting : 
        filterContext:ResultExecutingContext -> unit


Type: System.Web.Mvc.ResultExecutingContext

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.