NamedPipeConnectionPoolSettingsElement.MaxOutboundConnectionsPerEndpoint Property

Definition

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

[System.Configuration.ConfigurationProperty("maxOutboundConnectionsPerEndpoint", DefaultValue=10)]
[System.Configuration.IntegerValidator(MinValue=0)]
public int MaxOutboundConnectionsPerEndpoint { get; set; }

Property Value

A positive integer that specifies the maximum number of connections to a remote endpoint initiated by the service. The default is 10.

Attributes

Remarks

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.

Applies to

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1