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 は、リモート サーバー チャネルを指定するためにクライアントによって使用されます。

適用対象