DefaultHttpCachePolicy Property

RequestCachingSection.DefaultHttpCachePolicy Property


Gets the default caching behavior for the local computer.

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

Public ReadOnly Property DefaultHttpCachePolicy As HttpCachePolicyElement

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
© 2015 Microsoft