語言

ConnectionOrientedTransportElement.MaxPendingAccepts 屬性

定義

取得或設定可用於處理服務中進來連線的最大待處理非同步接受執行緒數量。

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

屬性值

服務可接受的最大待處理訊息數量。 預設值是 1。

屬性

備註

如果你預期會有大量同時連線,應該調整此特性以處理更多同時客戶連線。

適用於