This documentation is archived and is not being maintained.

HttpResponse.AddCacheItemDependencies Method

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

[Visual Basic]
Public Sub AddCacheItemDependencies( _
   ByVal cacheKeys As ArrayList _
)
[C#]
public void AddCacheItemDependencies(
 ArrayList cacheKeys
);
[C++]
public: void AddCacheItemDependencies(
 ArrayList* cacheKeys
);
[JScript]
public function AddCacheItemDependencies(
   cacheKeys : ArrayList
);

Parameters

cacheKeys
The ArrayList containing the keys of the items the current cached response is dependent upon.

Remarks

When the items referred to in cacheKeys are removed from the cache, the cached response of the current item is invalid.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

HttpResponse Class | HttpResponse Members | System.Web Namespace

Show: