System.Web.HttpResponse.AddCacheItemDependency Method

Makes the validity of a cached response dependent on another item in the cache.

Syntax

public void AddCacheItemDependency (string cacheKey)

Parameters

cacheKey
The key of the item that the cached response is dependent upon.

Remarks

When the item corresponding to the cacheKey parameter is removed from the cache, the cached response of the current item is invalid.

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0