IpcClientChannel.ChannelName プロパティ

定義

現在のチャネルの名前を取得します。

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

プロパティ値

チャネルの名前を格納している String インスタンス。

実装

次のコード例は、ChannelName プロパティの使用方法を示しています。

// 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);

注釈

登録されているすべてのチャネルには一意の名前があります。 名前は、 メソッドを呼び出すときに特定のチャネルを取得するために使用されます ChannelServices.GetChannel 。 既定の名前は "ipc client" です。

適用対象