public void Rollback(Guid txId)
{
try
{
TransactionalStorage.Batch(actions =>
{
actions.Transactions.RollbackTransaction(txId);
actions.Attachments.DeleteAttachment("transactions/recoveryInformation/" + txId, null);
workContext.ShouldNotifyAboutWork();
});
TryUndoPromotedTransaction(txId);
}
catch (Exception e)
{
if (TransactionalStorage.HandleException(e))
return;
throw;
}
}