Export (0) Print
Expand All

TcpConnectionPoolSettingsElement.MaxOutboundConnectionsPerEndpoint Property

Gets or sets the maximum number of connections to a remote endpoint initiated by the service.

Namespace:  System.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

[ConfigurationPropertyAttribute("maxOutboundConnectionsPerEndpoint", DefaultValue = )]
[IntegerValidatorAttribute(MinValue = )]
public int MaxOutboundConnectionsPerEndpoint { get; set; }

Property Value

Type: System.Int32
The maximum number of connections to a remote endpoint initiated by the service. The default is 10.

Connections in excess of the limit are queued until a space below the limit becomes available. This property limits the duration in which connections remain queued before an exception is thrown.

This property limits the number of simultaneous active connections from the client to a particular service endpoint. If this value is exceeded by having more active client connections, the service may appear unresponsive to the client. In this case, this value should be adjusted to exceed the maximum number of expected simultaneous client connections to a specific endpoint.

This setting can also be set on the service side, in which case the value is used to set the MaxPooledConnections on the TcpChannelListener.

.NET Framework

Supported in: 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft