Used to hold the output cache invalidation code, if any. This HAS to be a static method - otherwise it will actually hang on to the original (and in most circumstances useless) page object for the entire duration of the cache entry lifetime, prohibiting the GC from collection it.
Namespace: MonoSoftware.MonoXAssembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)
Syntax
C# |
---|
public static void ValidateCache(
HttpContext context,
Object data,
ref HttpValidationStatus status
) |
Visual Basic |
---|
Public Shared Sub ValidateCache (
context As HttpContext,
data As Object,
ByRef status As HttpValidationStatus
) |
Visual C++ |
---|
public:
static void ValidateCache(
HttpContext^ context,
Object^ data,
HttpValidationStatus% status
) |
F# |
---|
static member ValidateCache :
context : HttpContext *
data : Object *
status : HttpValidationStatus byref -> unit
|
See Also