NetTcpBindingElement.ListenBacklog Property

Definition

Gets or sets a value that specifies the maximum number of channels that can wait to be accepted on the listener.

C#
[System.Configuration.ConfigurationProperty("listenBacklog", DefaultValue=10)]
[System.Configuration.IntegerValidator(MinValue=1)]
public int ListenBacklog { get; set; }
C#
[System.Configuration.ConfigurationProperty("listenBacklog", DefaultValue=0)]
[System.Configuration.IntegerValidator(MinValue=0)]
public int ListenBacklog { get; set; }

Property Value

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

Attributes

Remarks

Connections in excess of this limit are queued until space below the limit becomes available.

Applies to

Prodotto Versioni
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1