Beispiel #1
0
 public void Stop()
 {
     _Client?.Close();
     _Client = null;
     Manager?.Abort();
     Manager = null;
 }
Beispiel #2
0
 void cancel()
 {
     if (Manager != null)
     {
         Manager.Abort();
     }
 }
Beispiel #3
0
 public static void Stop()
 {
     Listener?.Stop();
     Listener = null;
     Cleaner?.Abort();
     Cleaner = null;
     Manager?.Abort();
     Manager = null;
 }
Beispiel #4
0
 public static void Stop()
 {
     if (Manager != null)
     {
         Manager.Abort();
         Manager = null;
     }
     if (Client != null)
     {
         Client.Close();
         Client = null;
     }
 }
Beispiel #5
0
 public void Stop()
 {
     Manager.Abort();
     //IsBeingMonitored = false;
 }
Beispiel #6
0
 private void btShutdown60min_Click(object sender, RoutedEventArgs e)
 {
     manager.Abort();
     manager.Shutdown(0, 60, 0);
     CheckForClose();
 }
Beispiel #7
0
        /// <summary>
        /// Aborts the pending shutdown
        /// </summary>
        private void AbortAll_Button_Click(object sender, RoutedEventArgs e)
        {
            Manager manager = ManageViaTasks.Instance;

            manager.Abort(true);
        }