System.Transactions.DurableEnlistmentAborting.Aborted C# (CSharp) Method

Aborted() private method

private Aborted ( InternalEnlistment enlistment, Exception e ) : void
enlistment InternalEnlistment
e Exception
return void
        internal override void Aborted(InternalEnlistment enlistment, Exception e)
        {
            if (enlistment.Transaction._innerException == null)
            {
                enlistment.Transaction._innerException = e;
            }

            // Transition to the ended state
            DurableEnlistmentEnded.EnterState(enlistment);
        }