IpcChannel.ChannelPriority プロパティ

定義

現在のチャネルの優先順位を取得します。

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

プロパティ値

チャネルに割り当てられている優先順位を表す整数。

実装

次のコード例は、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 です。

適用対象