Close() public method

public Close ( ) : void
return void
コード例 #1
0
ファイル: Connection.cs プロジェクト: ThorTech/apache-nms
 internal void OnSessionException(Session sender, Exception exception)
 {
     if(ExceptionListener != null)
     {
         try
         {
             ExceptionListener(exception);
         }
         catch
         {
             sender.Close();
         }
     }
 }