語言

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。

適用於