Called back when the handler wants validation on a cache item before it's served from the cache. If any handler invalidates the item, the item is evicted from the cache and the request is handled as if a cache miss were generated.
[Visual Basic] Public Delegate Sub HttpCacheValidateHandler( _ ByVal context As HttpContext, _ ByVal data As Object, _ ByRef validationStatus As HttpValidationStatus _ ) [C#] public delegate void HttpCacheValidateHandler( HttpContext context, object data, ref HttpValidationStatus validationStatus ); [C++] public __gc __delegate void HttpCacheValidateHandler( HttpContext* context, Object* data, HttpValidationStatus** validationStatus );
[JScript] In JScript, you can use the delegates in the NGWS frameworks, but you cannot define your own.
The declaration of your event-handling method must have the same parameters as the HttpCacheValidateHandler delegate declaration.
[To be supplied.]
Namespace: System.Web
Assembly: System.Web.dll