HttpCachePolicyWrapper.AddValidationCallback Method (HttpCacheValidateHandler, Object)
.NET Framework (current version)
Registers a validation callback for the current response.
Assembly: System.Web (in System.Web.dll)
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 AddValidationCallback delegate.
| Exception | Condition |
|---|---|
| ArgumentNullException | The specified handler is null. |
.NET Framework
Available since 3.5
Available since 3.5
Show: