HttpCachePolicyElement::PolicyLevel Property

 

Gets or sets HTTP caching behavior for the local machine.

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

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

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
Show: