IpcServerChannel.GetChannelUri メソッド

定義

現在のチャネルの URI を返します。

public:
 System::String ^ GetChannelUri();
public string GetChannelUri ();
member this.GetChannelUri : unit -> string
Public Function GetChannelUri () As String

戻り値

チャネルの URI を格納している String

次のコード例は、 メソッドの使用方法を GetChannelUri 示しています。

Console::WriteLine( L"Listening on {0}", serverChannel->GetChannelUri() );
Console.WriteLine("Listening on {0}", serverChannel.GetChannelUri());

注釈

チャネル URI は、リモート サーバー チャネルを指定するためにクライアントによって使用されます。

適用対象