DefaultHttpCachePolicy Property
Collapse the table of content
Expand the table of content

RequestCachingSection.DefaultHttpCachePolicy Property


Gets the default caching behavior for the local computer.

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

public HttpCachePolicyElement DefaultHttpCachePolicy { get; }

Property Value

Type: System.Net.Configuration.HttpCachePolicyElement

A HttpCachePolicyElement that defines the default cache policy.

Unless the DisableAllCaching property is set to true, the policy returned by this property overrides the policy set in the DefaultPolicyLevel property.

.NET Framework
Available since 2.0
Return to top
© 2016 Microsoft