TcpChannel.ChannelPriority Egenskap

Definition

Hämtar prioriteten för den aktuella kanalen.

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

Egenskapsvärde

Ett heltal som representerar den prioritet som tilldelats kanalen.

Implementeringar

Exempel

I följande kodexempel visas hur du använder den här egenskapen.

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

Gäller för