protected virtual void PluginTrackable_ExecuteFailed(object sender, ObjectErrorEventArgs<IPlugin> eventArgs) { ExecuteFailed(this, eventArgs); }
protected virtual void PluginTrackable_RollbackFailed(object sender, ObjectErrorEventArgs<IPlugin> eventArgs) { RollbackFailed(this, eventArgs); }
private void RaiseExecuteFailed(object sender, ObjectErrorEventArgs<IPlugin> eventArgs) { ExecuteFailed(this, eventArgs); }
private void RaiseCommitFailed(object sender, ObjectErrorEventArgs<IPlugin> eventArgs) { CommitFailed(this, eventArgs); }
private void RaiseRollbackFailed(object sender, ObjectErrorEventArgs<IPlugin> eventArgs) { RollbackFailed(sender, eventArgs); }
private void ExecutionManager_ExecuteFailed(object sender, ObjectErrorEventArgs<IPlugin> eventArgs) { ExecuteFailed(this, eventArgs); }
void ExecutionSlot_RollbackFailed(object sender, ObjectErrorEventArgs<IPlugin> eventArgs) { lock (Plugins) { Plugins.Remove(eventArgs.EventObject); eventArgs.EventObject.RollbackCompleted -= ExecutionSlot_RollbackCompleted; eventArgs.EventObject.RollbackFailed -= ExecutionSlot_RollbackFailed; } Octopus.Core.Logging.Logging.Instance.Log(string.Format("ExecutionSlot@ExecutionSlot_ExecuteFailed() - Message: {0}\nStackTrace: {1}", eventArgs.Exception.Message, eventArgs.Exception.StackTrace), true); RollbackFailed(this, eventArgs); }
private void Agent_RollbackFailed(object sender, ObjectErrorEventArgs<IPlugin> eventArgs) { eventArgs.EventObject.ReleaseOperationRight(); RollbackFailed(this, eventArgs); }
protected override void PluginTrackable_RollbackFailed(object sender, ObjectErrorEventArgs<IPlugin> eventArgs) { base.PluginTrackable_RollbackFailed(sender, eventArgs); CurrentCommand = JobCommand.Finalize; StatusID = (int)Status.RollbackFailed; JobRollbackFailed(this, eventArgs); }