Пример #1
0
 // Token: 0x0600191A RID: 6426 RVA: 0x000674A4 File Offset: 0x000656A4
 public void UpdateReseedRecoveryAction(ReseedState action)
 {
     this.WorkflowInfoIsValid = false;
     if (action != this.LastReseedRecoveryAction)
     {
         AutoReseedWorkflowState.Tracer.TraceDebug((long)this.GetHashCode(), "AutoReseed workflow '{0}' for database '{1}': State is moving from '{2}' to '{3}'. ReseedRecoveryActionRetryCount is being reset to 0.", new object[]
         {
             this.WorkflowName,
             this.DatabaseGuid,
             this.LastReseedRecoveryAction,
             action
         });
         this.ResetReseedRecoveryActionInternal(action);
     }
     else
     {
         this.ReseedRecoveryActionRetryCount++;
         AutoReseedWorkflowState.Tracer.TraceDebug((long)this.GetHashCode(), "AutoReseed workflow '{0}' for database '{1}': Retry count of state '{2}' is being incremented to: ReseedRecoveryActionRetryCount = {3}.", new object[]
         {
             this.WorkflowName,
             this.DatabaseGuid,
             this.LastReseedRecoveryAction,
             this.ReseedRecoveryActionRetryCount
         });
     }
     this.WorkflowInfoIsValid = true;
 }
Пример #2
0
 // Token: 0x0600191E RID: 6430 RVA: 0x00067644 File Offset: 0x00065844
 private void ResetReseedRecoveryActionInternal(ReseedState action)
 {
     this.ReseedRecoveryActionRetryCount = 0;
     this.LastReseedRecoveryAction       = action;
     this.WorkflowExecutionResult        = AutoReseedWorkflowExecutionResult.Unknown;
     this.WorkflowExecutionError         = string.Empty;
     this.WorkflowExecutionTime          = DateTime.MinValue;
     this.WorkflowNextExecutionTime      = DateTime.MinValue;
 }