Terraria v1.4.4.9
Terraria source code documentation
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros
VolatileEnlistmentPreparingAborting.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 EnlistmentDone(InternalEnlistment enlistment)
11 {
13 }
14
15 internal override void Prepared(InternalEnlistment enlistment)
16 {
18 enlistment.FinishEnlistment();
19 }
20
21 internal override void ForceRollback(InternalEnlistment enlistment, Exception e)
22 {
24 if (enlistment.Transaction._innerException == null)
25 {
26 enlistment.Transaction._innerException = e;
27 }
28 enlistment.FinishEnlistment();
29 }
30
31 internal override void InternalAborted(InternalEnlistment enlistment)
32 {
33 }
34}
override void ForceRollback(InternalEnlistment enlistment, Exception e)
static VolatileEnlistmentEnded VolatileEnlistmentEnded
static VolatileEnlistmentAborting VolatileEnlistmentAborting