5 writes to _durableEnlistment
System.Transactions.Local (5)
System\Transactions\TransactionState.cs (5)
573
tx.
_durableEnlistment
= en.InternalEnlistment;
773
tx.
_durableEnlistment
= en.InternalEnlistment;
1062
tx.
_durableEnlistment
= en.InternalEnlistment;
4550
tx.
_durableEnlistment
= null;
4557
tx.
_durableEnlistment
= enlistment.InternalEnlistment;
41 references to _durableEnlistment
System.Transactions.Local (41)
System\Transactions\TransactionState.cs (41)
564
if (tx.
_durableEnlistment
!= null || (enlistmentOptions & EnlistmentOptions.EnlistDuringPrepareRequired) != 0)
574
DurableEnlistmentState.DurableEnlistmentActive.EnterState(tx.
_durableEnlistment
);
579
etwLog.TransactionstateEnlist(tx.
_durableEnlistment
.EnlistmentTraceId, EnlistmentType.Durable, EnlistmentOptions.None);
764
if (tx.
_durableEnlistment
!= null)
777
etwLog.TransactionstateEnlist(tx.
_durableEnlistment
.EnlistmentTraceId, EnlistmentType.PromotableSinglePhase, EnlistmentOptions.None);
799
DurableEnlistmentState.DurableEnlistmentActive.EnterState(tx.
_durableEnlistment
);
1052
if (tx.
_durableEnlistment
!= null)
1066
etwLog.TransactionstateEnlist(tx.
_durableEnlistment
.EnlistmentTraceId, EnlistmentType.PromotableSinglePhase, EnlistmentOptions.None);
1088
DurableEnlistmentState.DurableEnlistmentActive.EnterState(tx.
_durableEnlistment
);
1194
if (tx._phase1Volatiles._volatileEnlistmentCount == 1 && tx.
_durableEnlistment
== null
1305
if (tx.
_durableEnlistment
!= null)
1308
tx.
_durableEnlistment
.State.ChangeStateCommitting(tx.
_durableEnlistment
);
1396
tx.
_durableEnlistment
?.State.InternalAborted(tx.
_durableEnlistment
);
2267
if (tx.
_durableEnlistment
!= null)
2270
InternalEnlistment enlistment = tx.
_durableEnlistment
;
2280
tx.
_durableEnlistment
.State.ChangeStatePromoted(tx.
_durableEnlistment
, promotedEnlistment);
3268
if (tx.
_durableEnlistment
!= null)
3273
etwLog.EnlistmentStatus(TraceSourceType.TraceSourceLtm, tx.
_durableEnlistment
.EnlistmentTraceId, NotificationCall.Promote);
3364
Debug.Assert(tx.
_durableEnlistment
!= null);
3367
tx.
_durableEnlistment
.State.ChangeStateDelegated(tx.
_durableEnlistment
);
3494
Debug.Assert(tx.
_durableEnlistment
!= null, "PromotedNonMSDTC state is not valid for transaction");
3847
Debug.Assert(tx.
_durableEnlistment
!= null);
3851
etwLog.EnlistmentStatus(TraceSourceType.TraceSourceLtm, tx.
_durableEnlistment
.EnlistmentTraceId, NotificationCall.SinglePhaseCommit);
3858
tx.
_durableEnlistment
.State.ChangeStateCommitting(tx.
_durableEnlistment
);
4044
tx.
_durableEnlistment
?.State.InternalAborted(tx.
_durableEnlistment
);
4254
if (tx.
_durableEnlistment
!= null)
4259
etwLog.EnlistmentStatus(TraceSourceType.TraceSourceLtm, tx.
_durableEnlistment
.EnlistmentTraceId, NotificationCall.Promote);
4616
Debug.Assert(tx.
_durableEnlistment
!= null);
4620
etwLog.EnlistmentStatus(TraceSourceType.TraceSourceLtm, tx.
_durableEnlistment
.EnlistmentTraceId, NotificationCall.SinglePhaseCommit);
4625
tx.
_durableEnlistment
.PromotableSinglePhaseNotification.SinglePhaseCommit(tx.
_durableEnlistment
.SinglePhaseEnlistment);
4652
Debug.Assert(tx.
_durableEnlistment
!= null);
4656
etwLog.EnlistmentStatus(TraceSourceType.TraceSourceLtm, tx.
_durableEnlistment
.EnlistmentTraceId, NotificationCall.Rollback);
4659
tx.
_durableEnlistment
.PromotableSinglePhaseNotification.Rollback(
4660
tx.
_durableEnlistment
.SinglePhaseEnlistment);