Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
TransactionStatePromotedNonMSDTCVolatilePhase1.cs
Go to the documentation of this file.
1namespace System.Transactions;
2
4{
5 internal override void EnterState(InternalTransaction tx)
6 {
8 tx._committableTransaction._complete = true;
10 {
12 }
14 {
15 for (int i = 0; i < tx._phase1Volatiles._volatileEnlistmentCount; i++)
16 {
19 {
20 break;
21 }
22 }
23 }
24 else
25 {
27 }
28 }
29
30 internal override void BeginCommit(InternalTransaction tx, bool asyncCommit, AsyncCallback asyncCallback, object asyncState)
31 {
33 }
34
35 internal override void Rollback(InternalTransaction tx, Exception e)
36 {
38 }
39
44
45 internal override bool ContinuePhase1Prepares()
46 {
47 return true;
48 }
49
50 internal override Enlistment EnlistVolatile(InternalTransaction tx, IEnlistmentNotification enlistmentNotification, EnlistmentOptions enlistmentOptions, Transaction atomicTransaction)
51 {
53 }
54
55 internal override Enlistment EnlistVolatile(InternalTransaction tx, ISinglePhaseNotification enlistmentNotification, EnlistmentOptions enlistmentOptions, Transaction atomicTransaction)
56 {
58 }
59
60 internal override bool EnlistPromotableSinglePhase(InternalTransaction tx, IPromotableSinglePhaseNotification promotableSinglePhaseNotification, Transaction atomicTransaction, Guid promoterType)
61 {
63 }
64
69
74}
static string TooLate
Definition SR.cs:48
Definition SR.cs:7
virtual void ChangeStatePreparing(InternalEnlistment enlistment)
static TransactionException Create(string message, Exception innerException)
static TransactionException CreateTransactionStateException(Exception innerException, Guid distributedTxId)
override void ChangeStateTransactionAborted(InternalTransaction tx, Exception e)
override Enlistment EnlistVolatile(InternalTransaction tx, IEnlistmentNotification enlistmentNotification, EnlistmentOptions enlistmentOptions, Transaction atomicTransaction)
override void BeginCommit(InternalTransaction tx, bool asyncCommit, AsyncCallback asyncCallback, object asyncState)
override bool EnlistPromotableSinglePhase(InternalTransaction tx, IPromotableSinglePhaseNotification promotableSinglePhaseNotification, Transaction atomicTransaction, Guid promoterType)
override Enlistment EnlistVolatile(InternalTransaction tx, ISinglePhaseNotification enlistmentNotification, EnlistmentOptions enlistmentOptions, Transaction atomicTransaction)
void CommonEnterState(InternalTransaction tx)
static TransactionStatePromotedNonMSDTCSinglePhaseCommit TransactionStatePromotedNonMSDTCSinglePhaseCommit
static readonly Guid Empty
Definition Guid.cs:86