ServiceThrottlingElement.MaxConcurrentCalls 屬性

定義

取得或設定值,這個值會指定對單一服務執行個體的同時呼叫數目上限。

public:
 property int MaxConcurrentCalls { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("maxConcurrentCalls", DefaultValue=16)]
[System.Configuration.IntegerValidator(MinValue=1)]
public int MaxConcurrentCalls { get; set; }
[<System.Configuration.ConfigurationProperty("maxConcurrentCalls", DefaultValue=16)>]
[<System.Configuration.IntegerValidator(MinValue=1)>]
member this.MaxConcurrentCalls : int with get, set
Public Property MaxConcurrentCalls As Integer

屬性值

對單一服務執行個體的同時呼叫數上限。 預設值為 Int32.MaxValue

屬性

備註

超出上限的呼叫將排入佇列。 將這個值設定為 0 相當於設定為 MaxValue

適用於