/// <summary> /// Disconnects the client and frees any resources. /// </summary> public void Dispose() { Log.Verbose("RpcClient('{0}').Dispose()", _binding); _handle.Dispose(); }
/// <summary> /// Disposes of the server and stops listening if the server is currently listening /// </summary> public void Dispose() { _handler = null; StopListening(); _handle.Dispose(); }
/// <summary> /// Disposes of the server and stops listening if the server is currently listening /// </summary> public virtual void Dispose() { StopListening(); _handle.Dispose(); }