Compartir a través de


NetTcpBindingElement.ListenBacklog Propiedad

Definición

Obtiene o establece un valor que especifica el número máximo de canales que pueden esperar a ser aceptados en el agente de escucha.

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 de propiedad

Int32

Número máximo de canales que pueden esperar a ser aceptados en el agente de escucha. El valor predeterminado es 10.

Atributos

Comentarios

Conexiones que sobrepasen este límite se pondrán a la cola hasta que quede disponible un espacio por debajo del límite.

Se aplica a