System.Transactions.DurableEnlistmentActive.ChangeStatePromoted C# (CSharp) 메소드

ChangeStatePromoted() 개인적인 메소드

private ChangeStatePromoted ( InternalEnlistment enlistment, IPromotedEnlistment promotedEnlistment ) : void
enlistment InternalEnlistment
promotedEnlistment IPromotedEnlistment
리턴 void
        internal override void ChangeStatePromoted(InternalEnlistment enlistment, IPromotedEnlistment promotedEnlistment)
        {
            // Save the promoted enlistment because future notifications must be sent here.
            enlistment.PromotedEnlistment = promotedEnlistment;

            // The transaction is being promoted promote the enlistment as well
            EnlistmentStatePromoted.EnterState(enlistment);
        }