Udostępnij za pośrednictwem


IpcChannel.ChannelPriority Właściwość

Definicja

Pobiera priorytet bieżącego kanału.

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

Wartość właściwości

Int32

Liczba całkowita reprezentująca priorytet przypisany do kanału.

Implementuje

Przykłady

W poniższym przykładzie kodu pokazano, jak używać ChannelPriority właściwości. Ten przykład kodu jest częścią większego przykładu podanego IpcChannel dla klasy.

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

Uwagi

Domyślny priorytet to 20.

Dotyczy