OutputCacheAttribute.IsChildActionCacheActive(ControllerContext) Method

Definition

Returns a value that indicates whether a child action cache is active.

public static bool IsChildActionCacheActive (System.Web.Mvc.ControllerContext controllerContext);
static member IsChildActionCacheActive : System.Web.Mvc.ControllerContext -> bool
Public Shared Function IsChildActionCacheActive (controllerContext As ControllerContext) As Boolean

Parameters

controllerContext
ControllerContext

The controller context.

Returns

true if the child action cache is active; otherwise, false.

Applies to