OutputCacheAttribute::IsChildActionCacheActive Method

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

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

public:
static bool IsChildActionCacheActive(
	ControllerContext^ controllerContext
)

Parameters

controllerContext
Type: System.Web.Mvc::ControllerContext

The controller context.

Return Value

Type: System::Boolean
true if the child action cache is active; otherwise, false.
Show: