Share via


TcpChannel.ChannelPriority プロパティ

定義

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

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

プロパティ値

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

実装

次のコード例は、このプロパティの使用方法を示しています。

// Show the priority of the channel.
Console::WriteLine("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);

適用対象