Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Called by the MVC framework before the action result executes.
Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Overridable Sub OnResultExecuting ( _
    filterContext As ResultExecutingContext _
)
public virtual void OnResultExecuting(
    ResultExecutingContext filterContext
)
public:
virtual void OnResultExecuting(
    ResultExecutingContext^ filterContext
)
Parameters
- filterContext
Type: System.Web.Mvc.ResultExecutingContext
The filter context. 
Implements
IResultFilter.OnResultExecuting(ResultExecutingContext)
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.