IpcServerChannel.GetChannelUri 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回当前通道的 URI。
public:
System::String ^ GetChannelUri();
public string GetChannelUri();
member this.GetChannelUri : unit -> string
Public Function GetChannelUri () As String
返回
包含通道 URI 的 A String 。
示例
下面的代码示例演示如何使用 GetChannelUri 该方法。
Console::WriteLine( L"Listening on {0}", serverChannel->GetChannelUri() );
Console.WriteLine("Listening on {0}", serverChannel.GetChannelUri());
注解
客户端使用通道 URI 来指定远程服务器通道。