TcpTransportElement.ListenBacklog Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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 on the listener to be accepted. The default is 10.

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.

.NET Framework
Available since 3.0
Return to top
Show: