共用方式為


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 服務之前,應該可供系統使用的可用記憶體數量下限。

屬性

適用於