TcpChannel.ChannelPriority 属性   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取当前信道的优先级。
public:
 property int ChannelPriority { int get(); };public int ChannelPriority { get; }member this.ChannelPriority : intPublic 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);