| |||||
HttpCachePolicy.AddValidationCallback MethodSystem.Web Namespace HttpCachePolicy Class Registers a validation callback for the current response. [ VB ] Public Sub AddValidationCallback ( _ ByVal handler As HttpCacheValidateHandler, _ ByVal data As Object _ ) [ C# ] public void AddValidationCallback ( HttpCacheValidateHandler handler, object data ); [ C++ ] public: void AddValidationCallback ( HttpCacheValidateHandler* handler, Object* data ); [ JScript ] public function AddValidationCallback ( handler : HttpCacheValidateHandler, data : Object ); Parameters
Exceptions
RemarksAddValidationCallback provides a mechanism to programmatically check the validity of an item in the cache before the item is returned from the cache. Before the response is served from the Web server cache, all registered handlers are queried to ensure resource validity. If any handler sets a flag indicating that the resource is invalid, the entry is marked invalid and evicted from the cache. The request is then handled as if it were a cache miss. See AlsoHttpCachePolicy Members Caching ASP.NET Pages |
| ||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme