IpcClientChannel.ChannelName Propriedade
Definição
Obtém o nome do canal atual.Gets the name of the current channel.
public:
property System::String ^ ChannelName { System::String ^ get(); };
public string ChannelName { get; }
member this.ChannelName : string
Public ReadOnly Property ChannelName As String
Valor da propriedade
Uma String instância que contém o nome do canal.A String instance that contains the name of the channel.
Implementações
Exemplos
O exemplo de código a seguir mostra como usar a ChannelName propriedade.The following code example shows how to use the ChannelName property.
// Show the name of the channel.
Console::WriteLine( L"The name of the channel is {0}.", clientChannel->ChannelName );
// Show the name of the channel.
Console.WriteLine("The name of the channel is {0}.",
clientChannel.ChannelName);
Comentários
Cada canal registrado tem um nome exclusivo.Every registered channel has a unique name. O nome é usado para recuperar um canal específico ao chamar o ChannelServices.GetChannel método.The name is used to retrieve a specific channel when calling the ChannelServices.GetChannel method. O nome padrão é "IPC Client".The default name is "ipc client".