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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.