Name
HttpCacheValidateHandler
Synopsis
A function with this signature can be used for the AddValidationCallback()
method of the HttpCachePolicy
class. Using this signature gives you the opportunity to check other dependencies that
a cached page may have and either allow the page to be served or
invalidate it and require the page to be recompiled. To invalidate a
page, set the validationStatus
parameter to HttpValidationStatus.Invalid
.
Public Delegate Sub HttpCacheValidateHandler(
ByVal context As HttpContext, ByVal data As Object,
ByRef validationStatus As HttpValidationStatus)
Get ASP.NET in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.