Пример #1
0
		protected virtual void PluginTrackable_ExecuteFailed(object sender, ObjectErrorEventArgs<IPlugin> eventArgs)
		{
			ExecuteFailed(this, eventArgs);
		}
Пример #2
0
		protected virtual void PluginTrackable_RollbackFailed(object sender, ObjectErrorEventArgs<IPlugin> eventArgs)
		{
			RollbackFailed(this, eventArgs);
		}
Пример #3
0
		private void RaiseExecuteFailed(object sender, ObjectErrorEventArgs<IPlugin> eventArgs)
		{
			ExecuteFailed(this, eventArgs);
		}
Пример #4
0
		private void RaiseCommitFailed(object sender, ObjectErrorEventArgs<IPlugin> eventArgs)
		{
			CommitFailed(this, eventArgs);
		}
Пример #5
0
		private void RaiseRollbackFailed(object sender, ObjectErrorEventArgs<IPlugin> eventArgs)
		{
			RollbackFailed(sender, eventArgs);
		}
Пример #6
0
		private void ExecutionManager_ExecuteFailed(object sender, ObjectErrorEventArgs<IPlugin> eventArgs)
		{
			ExecuteFailed(this, eventArgs);
		}
Пример #7
0
		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);
		}
Пример #8
0
		private void Agent_RollbackFailed(object sender, ObjectErrorEventArgs<IPlugin> eventArgs)
		{
			eventArgs.EventObject.ReleaseOperationRight();

			RollbackFailed(this, eventArgs);
		}
Пример #9
0
		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);
		}