NetTcpBinding::MaxConnections Property
.NET Framework (current version)
Gets or sets a value that controls the maximum number of connections to be pooled for subsequent reuse on the client and the maximum number of connections allowed to be pending dispatch on the server.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Property Value
Type: System::Int32On the client, the maximum number of connections to be pooled for subsequent reuse; on the server, the maximum number of connections allowed to be pending dispatch.
The default value is 10.
This example shows how to get the MaxConnections value.
int maxConnections = binding.MaxConnections;
.NET Framework
Available since 3.0
Available since 3.0
Show: