IpcChannel.ChannelPriority Propriedade

Definição

Obtém a prioridade do canal atual.Gets the priority of the current channel.

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

Valor da propriedade

Int32

Um inteiro que representa a prioridade atribuída ao canal.An integer that represents the priority assigned to the channel.

Implementações

Exemplos

O exemplo de código a seguir mostra como usar a ChannelPriority propriedade.The following code example shows how to use the ChannelPriority property. Este exemplo de código faz parte de um exemplo maior fornecido para a IpcChannel classe.This code example is part of a larger example provided for the IpcChannel class.

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

Comentários

A prioridade padrão é 20.The default priority is 20.

Aplica-se a