10 tx._phase0VolatileWaveCount = volatileEnlistmentCount;
13 for (
int i = 0; i < volatileEnlistmentCount; i++)
31 Enlistment result = base.EnlistDurable(tx, resourceManagerIdentifier, enlistmentNotification, enlistmentOptions, atomicTransaction);
39 Enlistment result = base.EnlistDurable(tx, resourceManagerIdentifier, enlistmentNotification, enlistmentOptions, atomicTransaction);
46 Enlistment enlistment =
new Enlistment(tx, enlistmentNotification,
null, atomicTransaction, enlistmentOptions);
65 Enlistment enlistment =
new Enlistment(tx, enlistmentNotification, enlistmentNotification, atomicTransaction, enlistmentOptions);
94 Enlistment enlistment =
new Enlistment(tx, promotableSinglePhaseNotification, atomicTransaction);
101 tx._promoter = promotableSinglePhaseNotification;
118 tx._phase0VolatileWaveCount = volatileEnlistmentCount;
121 for (
int i = 0; i < volatileEnlistmentCount; i++)
160 tx._innerException = e;
static DurableEnlistmentActive DurableEnlistmentActive
virtual void ChangeStatePreparing(InternalEnlistment enlistment)
InternalEnlistment InternalEnlistment
EnlistmentTraceIdentifier EnlistmentTraceId
EnlistmentState _twoPhaseState
InternalEnlistment _durableEnlistment
void ThrowIfPromoterTypeIsNotMSDTC()
TransactionState _promoteState
VolatileEnlistmentSet _phase1Volatiles
VolatileEnlistmentSet _phase0Volatiles
Exception _innerException
static readonly Guid PromoterTypeDtc
override void Promote(InternalTransaction tx)
override bool ContinuePhase0Prepares()
override void Phase0VolatilePrepareDone(InternalTransaction tx)
override Enlistment EnlistVolatile(InternalTransaction tx, IEnlistmentNotification enlistmentNotification, EnlistmentOptions enlistmentOptions, Transaction atomicTransaction)
override Enlistment EnlistDurable(InternalTransaction tx, Guid resourceManagerIdentifier, ISinglePhaseNotification enlistmentNotification, EnlistmentOptions enlistmentOptions, Transaction atomicTransaction)
override void RestartCommitIfNeeded(InternalTransaction tx)
override bool EnlistPromotableSinglePhase(InternalTransaction tx, IPromotableSinglePhaseNotification promotableSinglePhaseNotification, Transaction atomicTransaction, Guid promoterType)
override void Phase1VolatilePrepareDone(InternalTransaction tx)
override void ChangeStateTransactionAborted(InternalTransaction tx, Exception e)
override void EnterState(InternalTransaction tx)
override Enlistment EnlistDurable(InternalTransaction tx, Guid resourceManagerIdentifier, IEnlistmentNotification enlistmentNotification, EnlistmentOptions enlistmentOptions, Transaction atomicTransaction)
override void Rollback(InternalTransaction tx, Exception e)
override Enlistment EnlistVolatile(InternalTransaction tx, ISinglePhaseNotification enlistmentNotification, EnlistmentOptions enlistmentOptions, Transaction atomicTransaction)
static TransactionStateAborted TransactionStateAborted
static TransactionStateDelegated TransactionStateDelegated
virtual void CheckForFinishedTransaction(InternalTransaction tx)
static TransactionStatePSPEOperation TransactionStatePSPEOperation
void AddVolatileEnlistment(ref VolatileEnlistmentSet enlistments, Enlistment enlistment)
static TransactionStateVolatilePhase1 TransactionStateVolatilePhase1
void EnterState(InternalTransaction tx)
void CommonEnterState(InternalTransaction tx)
virtual void RestartCommitIfNeeded(InternalTransaction tx)
virtual bool ContinuePhase0Prepares()
static TransactionStateDelegatedNonMSDTC TransactionStateDelegatedNonMSDTC
void TransactionstateEnlist(EnlistmentTraceIdentifier enlistmentID, EnlistmentType enlistmentType, EnlistmentOptions enlistmentOption)
static readonly TransactionsEtwProvider Log
int _preparedVolatileEnlistments
int _volatileEnlistmentCount
InternalEnlistment[] _volatileEnlistments