RequestCachingSection.DisableAllCaching 屬性

定義

取得或設定布林 (Boolean) 值,該值啟用本機電腦上的快取。

public:
 property bool DisableAllCaching { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("disableAllCaching", DefaultValue=false)]
public bool DisableAllCaching { get; set; }
[<System.Configuration.ConfigurationProperty("disableAllCaching", DefaultValue=false)>]
member this.DisableAllCaching : bool with get, set
Public Property DisableAllCaching As Boolean

屬性值

如果停用本機電腦上的快取則為 true,否則為 false

屬性

備註

如果此組態屬性在任何組態檔中設定為 true ,則會全域停用快取,並忽略所有其他快取相關設定。 此外,無法以程式設計方式啟用快取。

適用於