ServiceHostingEnvironmentSection.MinFreeMemoryPercentageToActivateService 属性

定义

获取或设置一个整数,它指定在激活 Windows Communication Foundation (WCF) 服务之前,系统应该具有的最小可用内存量。

public:
 property int MinFreeMemoryPercentageToActivateService { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("minFreeMemoryPercentageToActivateService", DefaultValue=5)]
[System.Configuration.IntegerValidator(MaxValue=99, MinValue=0)]
public int MinFreeMemoryPercentageToActivateService { get; set; }
[<System.Configuration.ConfigurationProperty("minFreeMemoryPercentageToActivateService", DefaultValue=5)>]
[<System.Configuration.IntegerValidator(MaxValue=99, MinValue=0)>]
member this.MinFreeMemoryPercentageToActivateService : int with get, set
Public Property MinFreeMemoryPercentageToActivateService As Integer

属性值

一个整数,指定在可以激活 WCF 服务之前,系统应该具有的最小可用内存量。

属性

适用于