Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
TransactionStateSubordinateActive.cs
Go to the documentation of this file.
1namespace System.Transactions;
2
4{
5 internal override void EnterState(InternalTransaction tx)
6 {
8 }
9
10 internal override void Rollback(InternalTransaction tx, Exception e)
11 {
12 if (tx._innerException == null)
13 {
14 tx._innerException = e;
15 }
18 }
19
20 internal override Enlistment EnlistVolatile(InternalTransaction tx, IEnlistmentNotification enlistmentNotification, EnlistmentOptions enlistmentOptions, Transaction atomicTransaction)
21 {
23 return tx.State.EnlistVolatile(tx, enlistmentNotification, enlistmentOptions, atomicTransaction);
24 }
25
26 internal override Enlistment EnlistVolatile(InternalTransaction tx, ISinglePhaseNotification enlistmentNotification, EnlistmentOptions enlistmentOptions, Transaction atomicTransaction)
27 {
29 return tx.State.EnlistVolatile(tx, enlistmentNotification, enlistmentOptions, atomicTransaction);
30 }
31
33 {
35 return tx.State.get_Status(tx);
36 }
37
38 internal override void AddOutcomeRegistrant(InternalTransaction tx, TransactionCompletedEventHandler transactionCompletedDelegate)
39 {
41 tx.State.AddOutcomeRegistrant(tx, transactionCompletedDelegate);
42 }
43
44 internal override bool EnlistPromotableSinglePhase(InternalTransaction tx, IPromotableSinglePhaseNotification promotableSinglePhaseNotification, Transaction atomicTransaction, Guid promoterType)
45 {
46 return false;
47 }
48
49 internal override void CreateBlockingClone(InternalTransaction tx)
50 {
53 }
54
55 internal override void CreateAbortingClone(InternalTransaction tx)
56 {
59 }
60}
override TransactionStatus get_Status(InternalTransaction tx)
override Enlistment EnlistVolatile(InternalTransaction tx, ISinglePhaseNotification enlistmentNotification, EnlistmentOptions enlistmentOptions, Transaction atomicTransaction)
override Enlistment EnlistVolatile(InternalTransaction tx, IEnlistmentNotification enlistmentNotification, EnlistmentOptions enlistmentOptions, Transaction atomicTransaction)
override bool EnlistPromotableSinglePhase(InternalTransaction tx, IPromotableSinglePhaseNotification promotableSinglePhaseNotification, Transaction atomicTransaction, Guid promoterType)
override void AddOutcomeRegistrant(InternalTransaction tx, TransactionCompletedEventHandler transactionCompletedDelegate)
override void Rollback(InternalTransaction tx, Exception e)
static TransactionStateAborted TransactionStateAborted
virtual void CreateAbortingClone(InternalTransaction tx)
virtual Enlistment EnlistVolatile(InternalTransaction tx, IEnlistmentNotification enlistmentNotification, EnlistmentOptions enlistmentOptions, Transaction atomicTransaction)
TransactionStatus get_Status(InternalTransaction tx)
virtual void CreateBlockingClone(InternalTransaction tx)
void EnterState(InternalTransaction tx)
void CommonEnterState(InternalTransaction tx)
virtual void AddOutcomeRegistrant(InternalTransaction tx, TransactionCompletedEventHandler transactionCompletedDelegate)