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

属性

适用于