NetTcpBindingElement.MaxConnections 속성

정의

서비스에서 생성하고 수락하는 최대 아웃바운드 및 인바운드 연결 수를 각각 지정하는 값을 가져오거나 설정합니다.

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

속성 값

Int32

서비스에서 생성하고 수락하는 최대 아웃바운드 및 인바운드 연결 수입니다. 기본값은 10입니다.

특성

설명

들어오는 연결과 나가는 연결 수는 이 속성에서 지정한 별도의 제한에 따라 계산됩니다. 이 한도를 초과하는 연결은 연결 수가 한도 아래로 내려갈 때까지 큐에 대기됩니다.

적용 대상