コード例 #1
0
 /// <summary>
 /// Disconnects the client and frees any resources.
 /// </summary>
 public void Dispose()
 {
     Log.Verbose("RpcClient('{0}').Dispose()", _binding);
     _handle.Dispose();
 }
コード例 #2
0
 /// <summary>
 /// Disposes of the server and stops listening if the server is currently listening
 /// </summary>
 public void Dispose()
 {
     _handler = null;
     StopListening();
     _handle.Dispose();
 }
コード例 #3
0
ファイル: Server.cs プロジェクト: pombredanne/NDceRpc
 /// <summary>
 /// Disposes of the server and stops listening if the server is currently listening
 /// </summary>
 public virtual void Dispose()
 {
     StopListening();
     _handle.Dispose();
 }