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

◆ EnlistDurable() [1/2]

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

Reimplemented from System.Transactions.EnlistableStates.

Definition at line 28 of file TransactionStatePhase0.cs.

29 {
30 tx.ThrowIfPromoterTypeIsNotMSDTC();
31 Enlistment result = base.EnlistDurable(tx, resourceManagerIdentifier, enlistmentNotification, enlistmentOptions, atomicTransaction);
32 tx.State.RestartCommitIfNeeded(tx);
33 return result;
34 }

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