Compartilhar via


IpcChannel.ChannelPriority Propriedade

Definição

Obtém 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 da propriedade

Int32

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

Implementações

Exemplos

O exemplo de código a seguir 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);

Comentários

A prioridade padrão é 20.

Aplica-se a