OutputCacheAttribute.IsChildActionCacheActive Method (ControllerContext)

 

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)

Syntax

public static bool IsChildActionCacheActive(
    ControllerContext controllerContext
)
public:
static bool IsChildActionCacheActive(
    ControllerContext^ controllerContext
)
static member IsChildActionCacheActive : 
        controllerContext:ControllerContext -> bool
Public Shared Function IsChildActionCacheActive (
    controllerContext As ControllerContext
) As Boolean

Parameters

Return Value

Type: System.Boolean

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

See Also

OutputCacheAttribute Class
System.Web.Mvc Namespace

Return to top