TcpChannel.ChannelPriority Propriété

Définition

Obtient la priorité du canal actuel.

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

Valeur de propriété

Entier qui représente la priorité assignée au canal.

Implémente

Exemples

L’exemple de code suivant montre comment utiliser cette proprié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);

S’applique à