HttpCachePolicyBase::AddValidationCallback Method (HttpCacheValidateHandler^, Object^)

 

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

Namespace:   System.Web
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
Return to top
Show: