IpcChannel.ChannelPriority Propriedade

Definição

Recebe a prioridade do canal atual.

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

Valor de Propriedade

Um inteiro que representa a prioridade atribuída ao canal.

Implementações

Exemplos

O seguinte exemplo de código mostra como usar a ChannelPriority propriedade. Este exemplo de código faz parte de um exemplo maior fornecido para a 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);

Observações

A prioridade padrão é 20.

Aplica-se a