HttpResponse.AddCacheItemDependencies Method (String[])

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

member AddCacheItemDependencies : 
        cacheKeys:string[] -> unit

Parameters

cacheKeys
Type: System.String[]

An array of item keys that the cached response is dependent upon.

When any of the cacheKeys are removed from the cache, the cached response of the current item is invalid.

.NET Framework
Available since 2.0
Return to top
Show: