HttpCacheValidateHandler

HttpCacheValidateHandlerserializable

System.Web (system.web.dll)delegate

A function with this signature can be used for the AddValidationCallback( ) method of the HttpCachePolicy class. Using this method 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 void HttpCacheValidateHandler(HttpContext context, object data,          ref HttpValidationStatus validationStatus);

Passed To

HttpCachePolicy.AddValidationCallback( )



ASP. NET in a Nutshell
ASP.NET in a Nutshell, Second Edition
ISBN: 0596005202
EAN: 2147483647
Year: 2003
Pages: 873

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net