/// <summary> /// Stops the scheduler and releases any associated managed resources. /// </summary> public void Stop() { try { _controller.Stop(); } catch (AggregateException ex) { throw new SchedulerException(ex); } finally { _controller.Dispose(); } }