/// <summary> /// Open an <b>IChannel</b> to the remote Service proxy. /// </summary> /// <seealso cref="RemoteService.OpenChannel"/> protected override IChannel OpenChannel() { IConnection connection = Initiator.EnsureConnection(); return(connection.OpenChannel(NameServiceProtocol.Instance, "NameService", null, Thread.CurrentPrincipal)); }
/// <summary> /// Open an <b>IChannel</b> to the remote ProxyService. /// </summary> protected override IChannel OpenChannel() { LookupProxyServiceAddress(); IConnection connection = Initiator.EnsureConnection(); return(connection.OpenChannel(InvocationServiceProtocol.Instance, "InvocationServiceProxy", null, Thread.CurrentPrincipal)); }