Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
VolatileEnlistmentAborting.cs
Go to the documentation of this file.
2
3namespace System.Transactions;
4
6{
7 internal override void EnterState(InternalEnlistment enlistment)
8 {
9 enlistment.State = this;
10 Monitor.Exit(enlistment.Transaction);
11 try
12 {
14 if (log.IsEnabled())
15 {
16 log.EnlistmentStatus(enlistment, NotificationCall.Rollback);
17 }
19 }
20 finally
21 {
22 Monitor.Enter(enlistment.Transaction);
23 }
24 }
25
26 internal override void ChangeStatePreparing(InternalEnlistment enlistment)
27 {
28 }
29
30 internal override void EnlistmentDone(InternalEnlistment enlistment)
31 {
33 }
34
35 internal override void InternalAborted(InternalEnlistment enlistment)
36 {
37 }
38}
static void Exit(object obj)
static void Enter(object obj)
IEnlistmentNotification EnlistmentNotification
void EnlistmentStatus(InternalEnlistment enlistment, NotificationCall notificationCall)
static readonly TransactionsEtwProvider Log
override void InternalAborted(InternalEnlistment enlistment)
override void EnlistmentDone(InternalEnlistment enlistment)
override void ChangeStatePreparing(InternalEnlistment enlistment)
override void EnterState(InternalEnlistment enlistment)
static VolatileEnlistmentEnded VolatileEnlistmentEnded
void Rollback(Enlistment enlistment)