NetTcpRelayBindingElement.MaxConnections 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 from the App.config file that specifies the maximum number of outbound and inbound connections the service creates and accepts respectively.
[System.Configuration.ConfigurationProperty("maxConnections", DefaultValue=10)]
[System.Configuration.IntegerValidator(MinValue=1)]
public int MaxConnections { get; set; }
[<System.Configuration.ConfigurationProperty("maxConnections", DefaultValue=10)>]
[<System.Configuration.IntegerValidator(MinValue=1)>]
member this.MaxConnections : int with get, set
Public Property MaxConnections As Integer
Property Value
On the client, returns the maximum number of connections to be pooled for subsequent reuse; on the server, returns the maximum number of connections allowed to be pending dispatch.
- Attributes
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for