편집

다음을 통해 공유


HttpCachePolicyBase.AddValidationCallback Method

Definition

When overridden in a derived class, registers a validation callback for the current response.

public:
 virtual void AddValidationCallback(System::Web::HttpCacheValidateHandler ^ handler, System::Object ^ data);
public virtual void AddValidationCallback (System.Web.HttpCacheValidateHandler handler, object data);
abstract member AddValidationCallback : System.Web.HttpCacheValidateHandler * obj -> unit
override this.AddValidationCallback : System.Web.HttpCacheValidateHandler * obj -> unit
Public Overridable 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

Applies to