Поделиться через


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

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.

See Also

Reference

OutputCacheAttribute Class

System.Web.Mvc Namespace