System.Transactions.EnlistmentState.ChangeStatePromoted C# (CSharp) Метод

ChangeStatePromoted() приватный Метод

private ChangeStatePromoted ( InternalEnlistment enlistment, IPromotedEnlistment promotedEnlistment ) : void
enlistment InternalEnlistment
promotedEnlistment IPromotedEnlistment
Результат void
        internal virtual void ChangeStatePromoted(InternalEnlistment enlistment, IPromotedEnlistment promotedEnlistment)
        {
            Debug.Assert(false, string.Format(null, "Invalid Event for InternalEnlistment State; Current State: {0}", GetType()));
            throw TransactionException.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId);
        }