Bagikan melalui


OutputCacheAttribute.IsChildActionCacheActive(ControllerContext) Metode

Definisi

Mengembalikan nilai yang menunjukkan apakah cache tindakan anak aktif.

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

Parameter

controllerContext
ControllerContext

Konteks pengontrol.

Mengembalikan

true jika cache tindakan anak aktif; jika tidak, salah.

Berlaku untuk