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);
        }