System.Transactions.EnlistmentStatePromoted.EnlistmentDone C# (CSharp) Method

EnlistmentDone() private method

private EnlistmentDone ( InternalEnlistment enlistment ) : void
enlistment InternalEnlistment
return void
        internal override void EnlistmentDone(InternalEnlistment enlistment)
        {
            Monitor.Exit(enlistment.SyncRoot);
            try
            {
                enlistment.PromotedEnlistment.EnlistmentDone();
            }
            finally
            {
                Monitor.Enter(enlistment.SyncRoot);
            }
        }