IpcClientChannel.ChannelPriority 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
현재 채널의 우선 순위를 가져옵니다.
public:
property int ChannelPriority { int get(); };
public int ChannelPriority { get; }
member this.ChannelPriority : int
Public ReadOnly Property ChannelPriority As Integer
속성 값
채널에 할당된 우선 순위를 나타내는 정수입니다.
구현
예제
다음 코드 예제에서는 ChannelPriority 속성을 사용하는 방법을 보여 줍니다.
// Show the priority of the channel.
Console::WriteLine( L"The priority of the channel is {0}.", clientChannel->ChannelPriority );
// Show the priority of the channel.
Console.WriteLine("The priority of the channel is {0}.",
clientChannel.ChannelPriority);
설명
우선 순위는 경쟁 클라이언트는 지정 된 엔드포인트에 연결 하는 순서를 제어 합니다. 낮은 우선 순위 채널 보다 먼저 우선 순위가 높은 채널이 연결합니다. 기본 우선 순위는 1입니다. 음수 우선 순위 허용 됩니다.