TcpTransportElement.ListenBacklog Właściwość

Definicja

Pobiera lub ustawia maksymalną liczbę kanałów, które mogą czekać na zaakceptowanie odbiornika.

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

Wartość właściwości

Maksymalna liczba kanałów, które mogą czekać na zaakceptowanie odbiornika. Wartość domyślna to 10.

Atrybuty

Uwagi

Połączenia przekraczające limit są kolejkowane do momentu, gdy miejsce poniżej limitu stanie się dostępne. Właściwość LeaseTimeout ogranicza czas oczekiwania klienta na połączenie przed zgłoszeniem wyjątku połączenia.

Dotyczy