Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
VolatileEnlistmentInDoubt.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.InDoubt);
17 }
19 }
20 finally
21 {
22 Monitor.Enter(enlistment.Transaction);
23 }
24 }
25
26 internal override void EnlistmentDone(InternalEnlistment enlistment)
27 {
29 }
30}
static void Exit(object obj)
static void Enter(object obj)
IEnlistmentNotification EnlistmentNotification
void EnlistmentStatus(InternalEnlistment enlistment, NotificationCall notificationCall)
static readonly TransactionsEtwProvider Log
override void EnterState(InternalEnlistment enlistment)
override void EnlistmentDone(InternalEnlistment enlistment)
static VolatileEnlistmentEnded VolatileEnlistmentEnded
void InDoubt(Enlistment enlistment)