System.Transactions.TransactionState.ChangeStatePromotedCommitted C# (CSharp) Метод

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

private ChangeStatePromotedCommitted ( InternalTransaction tx ) : void
tx InternalTransaction
Результат void
        internal virtual void ChangeStatePromotedCommitted(InternalTransaction tx)
        {
            Debug.Assert(false, string.Format(null, "Invalid Event for State; Current State: {0}", GetType()));
            TransactionsEtwProvider etwLog = TransactionsEtwProvider.Log;
            if (etwLog.IsEnabled())
            {
                etwLog.TransactionExceptionTrace(TransactionExceptionType.InvalidOperationException, tx.TransactionTraceId.TransactionIdentifier.ToString(), string.Empty);
            }

            throw new InvalidOperationException();
        }