System.Net.Cache.RequestCacheLevel.CacheOnly Field

Satisfies a request using the locally cached resource; does not send a request for an item that is not in the cache. When this cache policy level is specified, a System.Net.WebException exception is thrown if the item is not in the client cache.

Syntax

RequestCacheLevel CacheOnly

Requirements

Namespace: System.Net.Cache
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0