The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HttpResponse.AddCacheItemDependency Method

Makes the validity of a cached item dependent on another item in the cache.

[Visual Basic]
Public Sub AddCacheItemDependency( _
   ByVal cacheKey As String _
public void AddCacheItemDependency(
 string cacheKey
public: void AddCacheItemDependency(
 String* cacheKey
public function AddCacheItemDependency(
   cacheKey : String


The key of the item that the cached response is dependent upon.


When the item corresponding to cacheKey is removed from the cache, the cached response of the current item is invalid.


Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

HttpResponse Class | HttpResponse Members | System.Web Namespace

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft