internal void RegisterProgressHandler(IJobProgressHandler handler) { if (handler != null) { _progressHandler = handler; } }
public void Dispose() { // _executionState = null; _progressHandler = null; if (_recoveryThread != null) { if (_recoveryThread != null) { _recoveryThread.Abort(); } } }
public virtual void Dispose() { //_executionStatus.Status = RecoveryStatus.Cancelled; //_executionStatus.StopTime = DateTime.Now; //_progressHandler.SubmitRecoveryState(_executionStatus); if (_collections != null) { _collections = null; } //_executionStatus = null; _progressHandler = null; if (_recoveryThread != null) { _recoveryThread.Abort(); _recoveryThread = null; } }