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

◆ CreateAbortingClone()

override void System.Transactions.TransactionStatePromotedBase.CreateAbortingClone ( InternalTransaction tx)
inlinepackagevirtualinherited

Reimplemented from System.Transactions.TransactionState.

Definition at line 205 of file TransactionStatePromotedBase.cs.

206 {
207 if (tx._phase1Volatiles.VolatileDemux != null)
208 {
209 tx._phase1Volatiles._dependentClones++;
210 return;
211 }
212 if (tx._abortingDependentClone == null)
213 {
214 tx._abortingDependentClone = tx.PromotedTransaction.DependentClone(v: false);
215 }
216 tx._abortingDependentCloneCount++;
217 }

References System.Transactions.InternalTransaction._abortingDependentClone, System.Transactions.InternalTransaction._abortingDependentCloneCount, System.Transactions.VolatileEnlistmentSet._dependentClones, System.Transactions.InternalTransaction._phase1Volatiles, System.Transactions.Distributed.DistributedTransaction.DependentClone(), System.Transactions.InternalTransaction.PromotedTransaction, and System.Transactions.VolatileEnlistmentSet.VolatileDemux.