System.Transactions.EnlistmentState.ChangeStateSinglePhaseCommit C# (CSharp) Method

ChangeStateSinglePhaseCommit() private method

private ChangeStateSinglePhaseCommit ( InternalEnlistment enlistment ) : void
enlistment InternalEnlistment
return 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);
        }