RequestCachingSection.DefaultHttpCachePolicy Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the default caching behavior for the local computer.

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

[<ConfigurationPropertyAttribute("defaultHttpCachePolicy")>]
member DefaultHttpCachePolicy : HttpCachePolicyElement with 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
Show: