Export (0) Print
Expand All

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
)

Parameters

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft