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

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

private ChangeStateSinglePhaseCommit ( InternalEnlistment enlistment ) : void
enlistment InternalEnlistment
Результат void
        internal virtual void ChangeStateSinglePhaseCommit(InternalEnlistment enlistment)
        {
            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);
        }