RequestCachingSection::DefaultHttpCachePolicy Property
.NET Framework (current version)
Gets the default caching behavior for the local computer.
Assembly: System (in System.dll)
public: [ConfigurationPropertyAttribute("defaultHttpCachePolicy")] property HttpCachePolicyElement^ DefaultHttpCachePolicy { HttpCachePolicyElement^ 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
Available since 2.0
Show: