TcpTransportElement.ListenBacklog Propriedade
Definição
Obtém ou define o número máximo de canais que podem aguardar até o ouvinte ser aceito.Gets or sets the maximum number of channels that can wait on the listener to be accepted.
public:
property int ListenBacklog { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("listenBacklog", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
[System.Configuration.IntegerValidator(MinValue=1)]
public int ListenBacklog { get; set; }
[System.Configuration.ConfigurationProperty("listenBacklog", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
[System.Configuration.IntegerValidator(MinValue=0)]
public int ListenBacklog { get; set; }
[<System.Configuration.ConfigurationProperty("listenBacklog", DefaultValue=Mono.Cecil.CustomAttributeArgument)>]
[<System.Configuration.IntegerValidator(MinValue=1)>]
member this.ListenBacklog : int with get, set
[<System.Configuration.ConfigurationProperty("listenBacklog", DefaultValue=Mono.Cecil.CustomAttributeArgument)>]
[<System.Configuration.IntegerValidator(MinValue=0)>]
member this.ListenBacklog : int with get, set
Public Property ListenBacklog As Integer
Valor da propriedade
O número máximo de canais que podem aguardar a aceitação do ouvinte.The maximum number of channels that can wait on the listener to be accepted. O padrão é 10.The default is 10.
- Atributos
Comentários
As conexões que excedem o limite são enfileiradas até que um espaço abaixo do limite fique disponível.Connections in excess of the limit are queued until a space below the limit becomes available. A LeaseTimeout Propriedade limita a duração que o cliente aguarda para ser conectado antes de lançar uma exceção de conexão.The LeaseTimeout property limits the duration the client waits to be connected before throwing a connection exception.