System.Transactions.VolatileEnlistmentEnded.EnterState C# (CSharp) Метод

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

private EnterState ( InternalEnlistment enlistment ) : void
enlistment InternalEnlistment
Результат void
        internal override void EnterState(InternalEnlistment enlistment)
        {
            // Set the enlistment state
            enlistment.State = this;

            // Nothing to do.
        }

Usage Example

Пример #1
0
        internal override void Aborted(InternalEnlistment enlistment, Exception?e)
        {
            VolatileEnlistmentEnded.EnterState(enlistment);

            Debug.Assert(enlistment.Transaction.State != null);
            enlistment.Transaction.State.ChangeStateTransactionAborted(enlistment.Transaction, e);
        }
All Usage Examples Of System.Transactions.VolatileEnlistmentEnded::EnterState