Export (0) Print
Expand All

HttpResponseBase.AddCacheDependency Method

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.

Namespace:  System.Web
Assembly:  System.Web (in System.Web.dll)

public virtual void AddCacheDependency(
	params CacheDependency[] dependencies
)

Parameters

dependencies
Type: System.Web.Caching.CacheDependency[]

A file, cache key, or CacheDependency object to add to the list of application dependencies.

ExceptionCondition
NotImplementedException

Always.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1
Show:
© 2015 Microsoft