System.Transactions.EnlistmentStatePromoted.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)
        {
            Monitor.Exit(enlistment.SyncRoot);
            try
            {
                enlistment.PromotedEnlistment.Aborted(e);
            }
            finally
            {
                Monitor.Enter(enlistment.SyncRoot);
            }
        }