Close() public method

public Close ( ) : void
return void
示例#1
0
 internal void OnSessionException(Session sender, Exception exception)
 {
     if(ExceptionListener != null)
     {
         try
         {
             ExceptionListener(exception);
         }
         catch
         {
             sender.Close();
         }
     }
 }