HttpResponseBase.AddCacheItemDependency(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Always.
Applies to
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.