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

 

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
) override

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
Return to top
Show: