HttpCachePolicyElement.PolicyLevel Property


Gets or sets HTTP caching behavior for the local machine.

Namespace:   System.Net.Configuration
Assembly:  System (in System.dll)

[ConfigurationPropertyAttribute("policyLevel", IsRequired = true, 
	DefaultValue = HttpRequestCacheLevel.Default)]
public HttpRequestCacheLevel PolicyLevel { get; set; }

Property Value

Type: System.Net.Cache.HttpRequestCacheLevel

A HttpRequestCacheLevel value that specifies the cache behavior.

Applications typically use Default as their cache policy level. The CachePolicy property, if not null, determines the cache policy in effect for a request.

.NET Framework
Available since 2.0
Return to top