public void Dispose() { if (_channel.State == CommunicationState.Opened) { _channel.Close(); } }
public void Dispose() { ClientProxy.Close(); ((IDisposable)ClientProxy)?.Dispose(); }