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

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

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