ServiceThrottlingElement.MaxConcurrentCalls 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定一個值,指定單一服務實例最多同時呼叫次數。
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。