Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
TransactionStatePromotedIndoubt.cs
Go to the documentation of this file.
1namespace System.Transactions;
2
4{
5 internal override void EnterState(InternalTransaction tx)
6 {
7 base.EnterState(tx);
8 if (tx._phase1Volatiles.VolatileDemux != null)
9 {
11 }
12 if (tx._phase0Volatiles.VolatileDemux != null)
13 {
15 }
16 tx.FireCompletion();
18 if (log.IsEnabled())
19 {
21 }
22 }
23
25 {
26 return TransactionStatus.InDoubt;
27 }
28
29 internal override void RestartCommitIfNeeded(InternalTransaction tx)
30 {
31 }
32
33 internal override void InDoubtFromEnlistment(InternalTransaction tx)
34 {
35 }
36
38 {
39 if (tx._innerException == null && tx.PromotedTransaction != null)
40 {
41 tx._innerException = tx.PromotedTransaction.InnerException;
42 }
44 }
45
50
52 {
53 }
54
56 {
57 }
58}
static string TransactionIndoubt
Definition SR.cs:56
Definition SR.cs:7
TransactionTraceIdentifier TransactionTraceId
static TransactionInDoubtException Create(TraceSourceType traceSource, string message, Exception innerException, Guid distributedTxId)
override TransactionStatus get_Status(InternalTransaction tx)
void TransactionInDoubt(TransactionTraceIdentifier transactionID)
static readonly TransactionsEtwProvider Log
void BroadcastInDoubt(ref VolatileEnlistmentSet volatiles)