HttpCachePolicyWrapper.AddValidationCallback Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Registers a validation callback for the current response.
public:
override void AddValidationCallback(System::Web::HttpCacheValidateHandler ^ handler, System::Object ^ data);
public override void AddValidationCallback (System.Web.HttpCacheValidateHandler handler, object data);
override this.AddValidationCallback : System.Web.HttpCacheValidateHandler * obj -> unit
Public Overrides Sub AddValidationCallback (handler As HttpCacheValidateHandler, data As Object)
Parameters
- handler
- HttpCacheValidateHandler
The object that will handle the request.
- data
- Object
The user-supplied data that is passed to the AddValidationCallback(HttpCacheValidateHandler, Object) delegate.
Exceptions
The specified handler
is null
.
Applies to
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.