HttpResponseWrapper.AddCacheItemDependencies Method

Definition

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

Overloads

AddCacheItemDependencies(ArrayList)

Makes the validity of a cached response dependent on the specified items in the cache.

AddCacheItemDependencies(String[])

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

AddCacheItemDependencies(ArrayList)

Makes the validity of a cached response dependent on the specified items in the cache.

C#
public override void AddCacheItemDependencies(System.Collections.ArrayList cacheKeys);

Parameters

cacheKeys
ArrayList

A collection that contains the keys of the items that the cached response is dependent on.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

AddCacheItemDependencies(String[])

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

C#
public override void AddCacheItemDependencies(string[] cacheKeys);

Parameters

cacheKeys
String[]

An array that contains the keys of the items that the cached response is dependent on.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1