Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ EnlistDurable() [2/2]

override Enlistment System.Transactions.TransactionStatePhase0.EnlistDurable ( InternalTransaction tx,
Guid resourceManagerIdentifier,
ISinglePhaseNotification enlistmentNotification,
EnlistmentOptions enlistmentOptions,
Transaction atomicTransaction )
inlinepackagevirtual

Reimplemented from System.Transactions.EnlistableStates.

Definition at line 36 of file TransactionStatePhase0.cs.

37 {
38 tx.ThrowIfPromoterTypeIsNotMSDTC();
39 Enlistment result = base.EnlistDurable(tx, resourceManagerIdentifier, enlistmentNotification, enlistmentOptions, atomicTransaction);
40 tx.State.RestartCommitIfNeeded(tx);
41 return result;
42 }

References System.Transactions.TransactionState.RestartCommitIfNeeded(), System.Transactions.InternalTransaction.State, and System.Transactions.InternalTransaction.ThrowIfPromoterTypeIsNotMSDTC().