예제 #1
0
 public void UserShutdownNow()
 {
     if (remote == null)
     {
         return;
     }
     try
     {
         remote.UserShutdownNow();
     }
     catch (Exception)
     {
         // broken remote handler, nullify this one (dead)
         remote = null;
     }
 }
예제 #2
0
 public void UserShutdownNow()
 {
     try
     {
         if (_remote == null)
         {
             return;
         }
         _remote.UserShutdownNow();
     }
     catch (Exception ex)
     {
         // broken remote handler, nullify this one (dead)
         Log.Debug("LocalClientStandbyHandler: {0}", ex.Message);
         _remote = null;
     }
 }