Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
TransactionStateDelegatedNonMSDTC.cs
Go to the documentation of this file.
2
3namespace System.Transactions;
4
6{
7 internal override void EnterState(InternalTransaction tx)
8 {
10 DistributedTransaction distributedTransaction = null;
11 try
12 {
13 if (tx._durableEnlistment != null)
14 {
16 if (log.IsEnabled())
17 {
19 }
20 }
21 distributedTransaction = TransactionState.TransactionStatePSPEOperation.PSPEPromote(tx);
22 }
23 catch (TransactionPromotionException innerException)
24 {
27 if (log2.IsEnabled())
28 {
30 }
31 }
32 finally
33 {
34 if (tx.promotedToken == null)
35 {
37 }
38 }
39 }
40}
virtual void ChangeStateAbortedDuringPromotion(InternalTransaction tx)
static TransactionStatePSPEOperation TransactionStatePSPEOperation
void CommonEnterState(InternalTransaction tx)
void EnlistmentStatus(InternalEnlistment enlistment, NotificationCall notificationCall)
void ExceptionConsumed(TraceSourceType traceSource, Exception exception)
static readonly TransactionsEtwProvider Log