NetTcpBindingElement.ListenBacklog Property

 

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

Namespace:   System.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

[ConfigurationPropertyAttribute("listenBacklog", DefaultValue = 0)]
[IntegerValidatorAttribute(MinValue = 0)]
public int ListenBacklog { get; set; }

Property Value

Type: System.Int32

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

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

.NET Framework
Available since 3.0
Return to top
Show: