System.Transactions.TransactionStateAborted.CreateTransactionAbortedException C# (CSharp) Method

CreateTransactionAbortedException() private method

private CreateTransactionAbortedException ( InternalTransaction tx ) : TransactionException
tx InternalTransaction
return TransactionException
        private TransactionException CreateTransactionAbortedException(InternalTransaction tx)
        {
            return TransactionAbortedException.Create(SR.TransactionAborted, tx._innerException, tx.DistributedTxId);
        }