共用方式為


RequestCachingSection.DefaultHttpCachePolicy 屬性

定義

取得本機電腦的預設快取行為。

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

屬性值

HttpCachePolicyElement,定義預設快取原則。

屬性

備註

DisableAllCaching除非屬性設定為 true,否則這個屬性傳回的原則會覆寫 屬性中設定的原則DefaultPolicyLevel

適用於