Język

ConnectionOrientedTransportElement.MaxPendingAccepts Właściwość

Definicja

Pobiera lub ustawia maksymalną liczbę oczekujących asynchronicznych wątków akceptowanych, które są dostępne do przetwarzania połączeń przychodzących w usłudze.

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

Wartość właściwości

Maksymalna liczba oczekujących komunikatów, które usługa może zaakceptować. Wartość domyślna to 1.

Atrybuty

Uwagi

Jeśli przewidujesz wysoki poziom równoczesnych połączeń, należy dostosować tę właściwość do obsługi wyższych poziomów współbieżnych połączeń klienckich.

Dotyczy