System.Net.Cache.RequestCachePolicy.Level Property

Gets the System.Net.Cache.RequestCacheLevel value specified when this instance was constructed.

Syntax

public RequestCacheLevel Level { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Applications typically use RequestCacheLevel.Default as their cache policy level. Using the RequestCacheLevel.Default level, the effective cache policy is determined by the current cache policy and the age of the content in the cache. The System.Net.WebRequest.CachePolicy property, if not null, determines the cache policy in effect for a request.

The default policy for the application domain can be set using the System.Net.HttpWebRequest.DefaultCachePolicy or the application or machine configuration file. For more information, see RequestCaching Element (Network Settings).

Requirements

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