ServiceHostingEnvironmentSection.CloseIdleServicesAtLowMemory 屬性

定義

取得或設定值,指出 ServiceHostingEnvironmentSection 是否在記憶體不足時關閉閒置的服務。

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

屬性值

如果 ServiceHostingEnvironmentSection 在記憶體不足時會關閉閒置的服務,則為 true,否則為 false

屬性

適用於