OutputCacheAttribute.OnResultExecuting Method
Called before the action result executes.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Overrides Sub OnResultExecuting ( _
filterContext As ResultExecutingContext _
)
public override void OnResultExecuting(
ResultExecutingContext filterContext
)
public:
virtual void OnResultExecuting(
ResultExecutingContext^ filterContext
) override
Parameters
- filterContext
Type: System.Web.Mvc.ResultExecutingContext
The filter context, which encapsulates information for using AuthorizeAttribute.
Implements
IResultFilter.OnResultExecuting(ResultExecutingContext)
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The filterContext parameter is null reference (Nothing in Visual Basic). |
Remarks
The filterContext object contains the controller, HTTP context, request context, action result, and route data.