コード例 #1
0
 public void Stop()
 {
     _state = RecoveryManagerState.Stopped;
     _timer.Change(Timeout.Infinite, 0);
 }
コード例 #2
0
 public void Start(int intervalMinutes)
 {
     _waitMinutes = intervalMinutes;
     _state       = RecoveryManagerState.Started;
     _timer.Change(0, WaitMiliseconds);
 }