編輯

共用方式為


HttpResponseWrapper.AddCacheItemDependency(String) Method

Definition

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

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

Parameters

cacheKey
String

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

Applies to