IpcChannel.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

Följande kodexempel visar hur du använder egenskapen ChannelPriority . Det här kodexemplet är en del av ett större exempel för IpcChannel klassen.

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

Kommentarer

Standardprioriteten är 20.

Gäller för