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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.