Επεξεργασία

Κοινή χρήση μέσω


NamedPipeConnectionPoolSettingsElement.MaxOutboundConnectionsPerEndpoint Property

Definition

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

public:
 property int MaxOutboundConnectionsPerEndpoint { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("maxOutboundConnectionsPerEndpoint", DefaultValue=10)]
[System.Configuration.IntegerValidator(MinValue=0)]
public int MaxOutboundConnectionsPerEndpoint { get; set; }
[<System.Configuration.ConfigurationProperty("maxOutboundConnectionsPerEndpoint", DefaultValue=10)>]
[<System.Configuration.IntegerValidator(MinValue=0)>]
member this.MaxOutboundConnectionsPerEndpoint : int with get, set
Public Property MaxOutboundConnectionsPerEndpoint As Integer

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