Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
TransactionStateSPC.cs
Go to the documentation of this file.
1namespace System.Transactions;
2
3internal sealed class TransactionStateSPC : ActiveStates
4{
5 internal override void EnterState(InternalTransaction tx)
6 {
8 if (tx._durableEnlistment != null)
9 {
11 }
12 else
13 {
15 }
16 }
17
22
23 internal override void InDoubtFromEnlistment(InternalTransaction tx)
24 {
26 }
27
29 {
30 if (tx._innerException == null)
31 {
32 tx._innerException = e;
33 }
35 }
36}
virtual void ChangeStateCommitting(InternalEnlistment enlistment)
override void ChangeStateTransactionAborted(InternalTransaction tx, Exception e)
override void EnterState(InternalTransaction tx)
override void ChangeStateTransactionCommitted(InternalTransaction tx)
override void InDoubtFromEnlistment(InternalTransaction tx)
static TransactionStateInDoubt TransactionStateInDoubt
static TransactionStateAborted TransactionStateAborted
void CommonEnterState(InternalTransaction tx)
static TransactionStateCommitted TransactionStateCommitted