OutputCacheAttribute.OnResultExecuting Method (ResultExecutingContext)

 

Called before the action result executes.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

public override void OnResultExecuting(
    ResultExecutingContext filterContext
)
public:
virtual void OnResultExecuting(
    ResultExecutingContext^ filterContext
) override
override OnResultExecuting : 
        filterContext:ResultExecutingContext -> unit
Public Overrides Sub OnResultExecuting (
    filterContext As ResultExecutingContext
)

Parameters

Implements

IResultFilter.OnResultExecuting(ResultExecutingContext)

Exceptions

Exception Condition
ArgumentNullException

The filterContext parameter is null.

Remarks

The filterContext object contains the controller, HTTP context, request context, action result, and route data.

See Also

OutputCacheAttribute Class
System.Web.Mvc Namespace

Return to top