Editar

Compartir a través de


TcpTransportElement.ListenBacklog Property

Definition

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=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

Property Value

The maximum number of channels that can wait on the listener to be accepted. The default is 10.

Attributes

Remarks

Connections in excess of the limit are queued until a space below the limit becomes available. The LeaseTimeout property limits the duration the client waits to be connected before throwing a connection exception.

Applies to