HttpResponseBase.AddCacheDependency Method (CacheDependency[])
.NET Framework (current version)
Adds an associates cache dependencies with the response that enable the response to be invalidated if it is cached and if the specified dependencies change.
Assembly: System.Web (in System.Web.dll)
abstract AddCacheDependency : [<ParamArrayAttribute>] dependencies:CacheDependency[] -> unit override AddCacheDependency : [<ParamArrayAttribute>] dependencies:CacheDependency[] -> unit
Parameters
- dependencies
-
Type:
System.Web.Caching.CacheDependency[]
A file, cache key, or CacheDependency object to add to the list of application dependencies.
| Exception | Condition |
|---|---|
| NotImplementedException | Always. |
.NET Framework
Available since 3.5
Available since 3.5
Show: