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

ActionFilterAttribute.OnResultExecuting Method

.NET Framework 4

Called by the MVC framework before the action result executes.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
'Declaration
Public Overridable Sub OnResultExecuting ( _
	filterContext As ResultExecutingContext _
)

Parameters

filterContext
Type: System.Web.Mvc.ResultExecutingContext
The filter context.

Implements

IResultFilter.OnResultExecuting(ResultExecutingContext)

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.

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.