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

Prepared() private method

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