IpcServerChannel.ChannelName Propriedade

Definição

Recebe o nome do canal atual.

public:
 property System::String ^ ChannelName { System::String ^ get(); };
public string ChannelName { get; }
member this.ChannelName : string
Public ReadOnly Property ChannelName As String

Valor de Propriedade

Uma String instância que contém o nome do canal.

Implementações

Exemplos

O seguinte exemplo de código mostra como usar a ChannelName propriedade.

// Show the name of the channel.
Console::WriteLine( L"The name of the channel is {0}.",serverChannel->ChannelName );
// Show the name of the channel.
Console.WriteLine("The name of the channel is {0}.",
    serverChannel.ChannelName);

Observações

Cada canal registado tem um nome único. O nome é usado para recuperar um canal específico ao chamar o GetChannel método. O nome padrão é "servidor IPC".

Aplica-se a