NetTcpBindingElement.ListenBacklog Właściwość

Definicja

Pobiera lub ustawia wartość określającą maksymalną liczbę kanałów, które mogą czekać na zaakceptowanie na odbiorniku.

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

Int32

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

Atrybuty

Uwagi

Połączenia przekraczające ten limit są kolejkowane do momentu, gdy miejsce poniżej limitu stanie się dostępne.

Dotyczy