Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ InDoubt()

override void System.Transactions.EnlistmentStatePromoted.InDoubt ( InternalEnlistment enlistment,
Exception e )
inlinepackagevirtual

Reimplemented from System.Transactions.EnlistmentState.

Definition at line 77 of file EnlistmentStatePromoted.cs.

78 {
79 Monitor.Exit(enlistment.SyncRoot);
80 try
81 {
82 enlistment.PromotedEnlistment.InDoubt(e);
83 }
84 finally
85 {
86 Monitor.Enter(enlistment.SyncRoot);
87 }
88 }
static void Exit(object obj)
static void Enter(object obj)

References System.Threading.Monitor.Enter(), System.Threading.Monitor.Exit(), System.Transactions.IPromotedEnlistment.InDoubt(), System.Transactions.InternalEnlistment.PromotedEnlistment, and System.Transactions.InternalEnlistment.SyncRoot.