Share via


TcpChannel.ChannelPriority Propiedad

Definición

Obtiene la prioridad del canal actual.

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

Valor de propiedad

Un entero que representa la prioridad asignada al canal.

Implementaciones

Ejemplos

En el ejemplo de código siguiente se muestra cómo usar esta propiedad.

// Show the priority of the channel.
Console::WriteLine("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);

Se aplica a