Sdílet prostřednictvím


TcpChannel.ChannelPriority Vlastnost

Definice

Získá prioritu aktuálního kanálu.

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

Hodnota vlastnosti

Celé číslo, které představuje prioritu přiřazenou kanálu.

Implementuje

Příklady

Následující příklad kódu ukazuje, jak tuto vlastnost použít.

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

Platí pro