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;
4547
tx.
_durableEnlistment
= null;
4554
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);
3265
if (tx.
_durableEnlistment
!= null)
3270
etwLog.EnlistmentStatus(TraceSourceType.TraceSourceLtm, tx.
_durableEnlistment
.EnlistmentTraceId, NotificationCall.Promote);
3361
Debug.Assert(tx.
_durableEnlistment
!= null);
3364
tx.
_durableEnlistment
.State.ChangeStateDelegated(tx.
_durableEnlistment
);
3491
Debug.Assert(tx.
_durableEnlistment
!= null, "PromotedNonMSDTC state is not valid for transaction");
3844
Debug.Assert(tx.
_durableEnlistment
!= null);
3848
etwLog.EnlistmentStatus(TraceSourceType.TraceSourceLtm, tx.
_durableEnlistment
.EnlistmentTraceId, NotificationCall.SinglePhaseCommit);
3855
tx.
_durableEnlistment
.State.ChangeStateCommitting(tx.
_durableEnlistment
);
4041
tx.
_durableEnlistment
?.State.InternalAborted(tx.
_durableEnlistment
);
4251
if (tx.
_durableEnlistment
!= null)
4256
etwLog.EnlistmentStatus(TraceSourceType.TraceSourceLtm, tx.
_durableEnlistment
.EnlistmentTraceId, NotificationCall.Promote);
4613
Debug.Assert(tx.
_durableEnlistment
!= null);
4617
etwLog.EnlistmentStatus(TraceSourceType.TraceSourceLtm, tx.
_durableEnlistment
.EnlistmentTraceId, NotificationCall.SinglePhaseCommit);
4622
tx.
_durableEnlistment
.PromotableSinglePhaseNotification.SinglePhaseCommit(tx.
_durableEnlistment
.SinglePhaseEnlistment);
4649
Debug.Assert(tx.
_durableEnlistment
!= null);
4653
etwLog.EnlistmentStatus(TraceSourceType.TraceSourceLtm, tx.
_durableEnlistment
.EnlistmentTraceId, NotificationCall.Rollback);
4656
tx.
_durableEnlistment
.PromotableSinglePhaseNotification.Rollback(
4657
tx.
_durableEnlistment
.SinglePhaseEnlistment);