System.Transactions.TransactionStateSubordinateActive.Rollback C# (CSharp) Method

Rollback() private method

private Rollback ( InternalTransaction tx, Exception e ) : void
tx InternalTransaction
e System.Exception
return void
        internal override void Rollback(InternalTransaction tx, Exception e)
        {
            // Start the process for abort.  From the active state we can transition directly
            // to the aborted state.

            if (tx._innerException == null)
            {
                tx._innerException = e;
            }

            ((ISimpleTransactionSuperior)tx._promoter).Rollback();
            TransactionStateAborted.EnterState(tx);
        }