NetTcpBindingElement::MaxConnections Property
.NET Framework (current version)
Gets or sets a value that specifies the maximum number of outbound and inbound connections the service creates and accepts respectively.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public: [ConfigurationPropertyAttribute("maxConnections", DefaultValue = 0)] [IntegerValidatorAttribute(MinValue = 0)] property int MaxConnections { int get(); void set(int value); }
Property Value
Type: System::Int32The maximum number of outbound and inbound connections the service creates and accepts respectively. The default is 10.
Incoming and outgoing connections are counted against a separate limit specified by this property. Any connection in excess of the limit is queued until a space below the limit becomes available.
.NET Framework
Available since 3.0
Available since 3.0
Show: