Partage via


IpcChannel.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 la propriété ChannelPriority. Cet exemple de code fait partie d’un exemple plus grand fourni pour la IpcChannel classe .

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

Remarques

La priorité par défaut est 20.

S’applique à