NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HttpCacheValidateHandler Delegate

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.

Parameters [Visual Basic, C#, C++]

The declaration of your event-handling method must have the same parameters as the HttpCacheValidateHandler delegate declaration.

context
[To be supplied.]
data
[To be supplied.]
HttpVa
[To be supplied.]

Remarks

[To be supplied.]

Requirements

Namespace: System.Web

Assembly: System.Web.dll

See Also

System.Web Namespace