System.Web.HttpResponse.AddCacheItemDependencies Method

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

Syntax

public void AddCacheItemDependencies (string[] cacheKeys)

Parameters

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

Remarks

When any of the cacheKeys are 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: 2.0.0.0