HttpCachePolicyBase::AddValidationCallback Method (HttpCacheValidateHandler^, Object^)
.NET Framework (current version)
When overridden in a derived class, registers a validation callback for the current response.
Assembly: System.Web (in System.Web.dll)
public: virtual void AddValidationCallback( HttpCacheValidateHandler^ handler, Object^ data )
Parameters
- handler
-
Type:
System.Web::HttpCacheValidateHandler^
The object that will handle the request.
- data
-
Type:
System::Object^
The user-supplied data that is passed to the HttpCachePolicyWrapper::AddValidationCallback delegate.
| Exception | Condition |
|---|---|
| NotImplementedException | Always. |
.NET Framework
Available since 3.5
Available since 3.5
Show: