HttpResponseBase::AddCacheDependency Method (array<CacheDependency^>^)

 

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(
	... array<CacheDependency^>^ dependencies
)

Parameters

dependencies
Type: array<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
Return to top
Show: