NetTcpBindingElement.ListenBacklog Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that specifies the maximum number of channels that can wait to be accepted on the listener.
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 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.