다음을 통해 공유


ServiceThrottlingElement.MaxConcurrentSessions 속성

정의

단일 서비스 인스턴스에 대한 최대 동시 연결 수를 지정하는 값을 가져오거나 설정합니다.

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

속성 값

단일 서비스 인스턴스에 대한 최대 동시 연결 수입니다. 기본값은 Int32.MaxValue입니다.

특성

설명

서비스는 한도를 초과하는 연결을 수락합니다. 그러나 한도 아래의 채널만 활성화되며 활성 채널로부터만 메시지를 읽습니다. 이 속성을 0으로 설정하면 MaxValue로 설정하는 것과 같습니다.

적용 대상