Share via


NetTcpBindingElement.ListenBacklog Propriedade

Definição

Obtém ou define um valor que especifica o número máximo de canais que podem aguardar para serem aceitos no ouvinte.

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

Valor da propriedade

Int32

O número máximo de canais que podem esperar para serem aceitos no ouvinte. O padrão é 10.

Atributos

Comentários

As conexões além desse limite são en filas até que o espaço abaixo do limite fique disponível.

Aplica-se a