IpcServerChannel.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}.",serverChannel->ChannelPriority );
// Show the priority of the channel.
Console.WriteLine("The priority of the channel is {0}.",
serverChannel.ChannelPriority);
설명
우선 순위는 인스턴스에 채널 데이터가 표시되는 순서를 ObjRef 제어합니다. 우선 순위가 높은 채널은 우선 순위가 낮은 채널 앞에 나타납니다. 클라이언트는 인스턴스에 나열된 순서대로 서버 채널에 ObjRef 연결하려고 합니다. 기본 우선 순위는 20입니다. 음의 우선 순위가 허용됩니다.