Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
DurableEnlistmentDelegated.cs
Go to the documentation of this file.
1namespace System.Transactions;
2
4{
5 internal override void EnterState(InternalEnlistment enlistment)
6 {
7 enlistment.State = this;
8 }
9
10 internal override void Committed(InternalEnlistment enlistment)
11 {
14 }
15
16 internal override void Aborted(InternalEnlistment enlistment, Exception e)
17 {
19 if (enlistment.Transaction._innerException == null)
20 {
21 enlistment.Transaction._innerException = e;
22 }
24 }
25
26 internal override void InDoubt(InternalEnlistment enlistment, Exception e)
27 {
29 if (enlistment.Transaction._innerException == null)
30 {
31 enlistment.Transaction._innerException = e;
32 }
34 }
35}
override void EnterState(InternalEnlistment enlistment)
override void InDoubt(InternalEnlistment enlistment, Exception e)
override void Aborted(InternalEnlistment enlistment, Exception e)
override void Committed(InternalEnlistment enlistment)
static DurableEnlistmentEnded DurableEnlistmentEnded
virtual void InDoubtFromEnlistment(InternalTransaction tx)
virtual void ChangeStatePromotedCommitted(InternalTransaction tx)
virtual void ChangeStatePromotedAborted(InternalTransaction tx)