HttpResponse.AddCacheItemDependencies Method (String[])


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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