RequestCachingSection.DefaultHttpCachePolicy Egenskap

Definition

Hämtar standardbeteendet för cachelagring för den lokala datorn.

public:
 property System::Net::Configuration::HttpCachePolicyElement ^ DefaultHttpCachePolicy { System::Net::Configuration::HttpCachePolicyElement ^ get(); };
[System.Configuration.ConfigurationProperty("defaultHttpCachePolicy")]
public System.Net.Configuration.HttpCachePolicyElement DefaultHttpCachePolicy { get; }
[<System.Configuration.ConfigurationProperty("defaultHttpCachePolicy")>]
member this.DefaultHttpCachePolicy : System.Net.Configuration.HttpCachePolicyElement
Public ReadOnly Property DefaultHttpCachePolicy As HttpCachePolicyElement

Egenskapsvärde

En HttpCachePolicyElement som definierar standardcacheprincipen.

Attribut

Kommentarer

Om inte egenskapen DisableAllCaching är inställd på trueåsidosätter principen som returneras av den här egenskapen den princip som angetts i DefaultPolicyLevel egenskapen.

Gäller för