IpcChannel.ChannelPriority 속성

정의

현재 채널의 우선 순위를 가져옵니다.

public:
 property int ChannelPriority { int get(); };
public int ChannelPriority { get; }
member this.ChannelPriority : int
Public ReadOnly Property ChannelPriority As Integer

속성 값

Int32

채널에 할당된 우선 순위를 나타내는 정수입니다.

구현

예제

다음 코드 예제에서는 ChannelPriority 속성을 사용하는 방법을 보여 줍니다. 이 코드 예제는에 대해 제공 된 큰 예제의 일부는 IpcChannel 클래스입니다.

// 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);

설명

기본 우선 순위는 20입니다.

적용 대상