Share via


ConnectionOrientedTransportBindingElement.MaxPendingConnections 속성

정의

서비스에서 디스패치를 대기하는 최대 연결 수를 가져오거나 설정합니다.

public:
 property int MaxPendingConnections { int get(); void set(int value); };
public int MaxPendingConnections { get; set; }
member this.MaxPendingConnections : int with get, set
Public Property MaxPendingConnections As Integer

속성 값

서비스에서 디스패치를 대기하는 최대 인바운드 연결 수입니다. 기본값은 12 * 프로세서 수입니다.

예외

값이 0보다 작거나 같은 경우

설명

이 속성은 전송에서 승인하였지만 ServiceModel 디스패처에서 선택하지 않은 연결 수를 제어합니다. 이 값을 설정하려면 바인딩 요소의 MaxConnections 또는 바인딩의 maxOutboundConnectionsPerEndpoint를 사용합니다.

스택의 상위 계층에서 AcceptDispatch를 호출하면 디스패치 대기 중인 연결 큐에서 해당 연결이 제거됩니다.

적용 대상