Information
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 _
)
[C#]
public void AddCacheItemDependency(
 string cacheKey
);
[C++]
public: void AddCacheItemDependency(
 String* cacheKey
);
[JScript]
public function AddCacheItemDependency(
   cacheKey : String
);

Parameters

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

Remarks

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

Requirements

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
Show:
© 2014 Microsoft