System.Transactions.TransactionStatePromotedNonMSDTCBase.ChangeStateTransactionAborted C# (CSharp) Method

ChangeStateTransactionAborted() private method

private ChangeStateTransactionAborted ( InternalTransaction tx, Exception e ) : void
tx InternalTransaction
e Exception
return void
        internal override void ChangeStateTransactionAborted(InternalTransaction tx, Exception e)
        {
            // Just transition to Aborted. The PSPE will be told to rollback thru the durableEnlistment.
            // This is also overridden in TransactionStatePromotedNonMSDTCSinglePhaseCommit
            // that does something slightly differently.
            if (tx._innerException == null)
            {
                tx._innerException = e;
            }

            TransactionStateAborted.EnterState(tx);
        }