HttpCachePolicyBase.AddValidationCallback 方法

定义

在派生类中重写时,为当前响应注册验证回调。

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)

参数

handler
HttpCacheValidateHandler

将要处理该请求的对象。

data
Object

传递到 AddValidationCallback(HttpCacheValidateHandler, Object) 委托的用户提供的数据。

例外

适用于