共用方式為


SocketConnectionPoolSettingsElement.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; }
[<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

Returns the maximum number of connections to a remote endpoint initiated by the service. The default is 10.

Attributes

Applies to