Modifier

Partager via


HttpResponseBase.AddCacheItemDependency(String) Method

Definition

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

public:
 virtual void AddCacheItemDependency(System::String ^ cacheKey);
public virtual void AddCacheItemDependency (string cacheKey);
abstract member AddCacheItemDependency : string -> unit
override this.AddCacheItemDependency : string -> unit
Public Overridable Sub AddCacheItemDependency (cacheKey As String)

Parameters

cacheKey
String

The key of the item that the cached response is dependent on.

Exceptions

Applies to