System.Transactions.DurableEnlistmentActive.ChangeStatePromoted C# (CSharp) Method

ChangeStatePromoted() private method

private ChangeStatePromoted ( InternalEnlistment enlistment, IPromotedEnlistment promotedEnlistment ) : void
enlistment InternalEnlistment
promotedEnlistment IPromotedEnlistment
return 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);
        }