HttpResponse.AddCacheItemDependencies Method (String[])


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

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public void AddCacheItemDependencies(
	string[] cacheKeys


Type: System.String[]

An array of item keys that the cached response is dependent upon.

When any of the cacheKeys are removed from the cache, the cached response of the current item is invalid.

.NET Framework
Available since 2.0
Return to top