67 references to OletxEnlistmentState
System.Transactions (67)
System\Transactions\Oletx\OletxEnlistment.cs (61)
53
OletxEnlistmentState
state =
OletxEnlistmentState
.Active;
101
this.state =
OletxEnlistmentState
.Active;
136
this.state =
OletxEnlistmentState
.Active;
158
this.state =
OletxEnlistmentState
.Aborting;
173
this.state =
OletxEnlistmentState
.Committing;
199
this.state =
OletxEnlistmentState
.Prepared;
272
internal
OletxEnlistmentState
State
325
OletxEnlistmentState
localState =
OletxEnlistmentState
.Active;
332
if (
OletxEnlistmentState
.Active == state )
334
localState = state =
OletxEnlistmentState
.Preparing;
352
if (
OletxEnlistmentState
.Preparing == localState )
366
state =
OletxEnlistmentState
.SinglePhaseCommitting;
384
state =
OletxEnlistmentState
.Preparing;
406
else if (
OletxEnlistmentState
.Prepared == localState )
420
else if (
OletxEnlistmentState
.Done == localState )
468
OletxEnlistmentState
localState =
OletxEnlistmentState
.Active;
475
if (
OletxEnlistmentState
.Prepared == state )
477
localState = state =
OletxEnlistmentState
.Committing;
542
OletxEnlistmentState
localState =
OletxEnlistmentState
.Active;
549
if ( (
OletxEnlistmentState
.Active == state ) ||
550
(
OletxEnlistmentState
.Prepared == state )
553
localState = state =
OletxEnlistmentState
.Aborting;
561
if (
OletxEnlistmentState
.Phase0Preparing == state )
645
if ( (
OletxEnlistmentState
.Prepared == state ) ||
646
(
OletxEnlistmentState
.Committing == state )
667
OletxEnlistmentState
localState =
OletxEnlistmentState
.Active;
697
if (
OletxEnlistmentState
.Active == state )
726
localState = state =
OletxEnlistmentState
.Phase0Preparing;
735
if (
OletxEnlistmentState
.Phase0Preparing == localState )
818
OletxEnlistmentState
localState =
OletxEnlistmentState
.Active;
825
if (
OletxEnlistmentState
.Active == state )
838
else if (
OletxEnlistmentState
.Preparing == state )
846
else if (
OletxEnlistmentState
.Phase0Preparing == state )
866
else if ( (
OletxEnlistmentState
.Committing == state ) ||
867
(
OletxEnlistmentState
.Aborting == state ) ||
868
(
OletxEnlistmentState
.SinglePhaseCommitting == state )
886
state =
OletxEnlistmentState
.Done;
893
if (
OletxEnlistmentState
.Preparing == localState )
904
else if (
OletxEnlistmentState
.Committing == localState )
908
else if (
OletxEnlistmentState
.Aborting == localState )
918
else if (
OletxEnlistmentState
.SinglePhaseCommitting == localState )
929
if (
OletxEnlistmentState
.Active == localState )
933
else if (
OletxEnlistmentState
.Phase0Preparing == localState )
1011
if (
OletxEnlistmentState
.Preparing == state )
1015
else if (
OletxEnlistmentState
.Phase0Preparing == state )
1036
state =
OletxEnlistmentState
.Prepared;
1141
if (
OletxEnlistmentState
.Preparing == state )
1145
else if (
OletxEnlistmentState
.Phase0Preparing == state )
1162
state =
OletxEnlistmentState
.Aborted;
1237
if (!isSinglePhase || (
OletxEnlistmentState
.SinglePhaseCommitting != state))
1241
state =
OletxEnlistmentState
.Committed;
1312
if (!isSinglePhase || (
OletxEnlistmentState
.SinglePhaseCommitting != state))
1316
state =
OletxEnlistmentState
.Aborted;
1388
if (!isSinglePhase || (
OletxEnlistmentState
.SinglePhaseCommitting != state))
1392
state =
OletxEnlistmentState
.InDoubt;
System\Transactions\Oletx\OletxResourceManager.cs (6)
735
if ( OletxEnlistment.
OletxEnlistmentState
.Done == localEnlistment.State )
742
else if ( OletxEnlistment.
OletxEnlistmentState
.Prepared != localEnlistment.State )
786
if ( OletxEnlistment.
OletxEnlistmentState
.Done == localEnlistment.State )
839
if ( OletxEnlistment.
OletxEnlistmentState
.Done == localEnlistment.State )
860
localEnlistment.State = OletxEnlistment.
OletxEnlistmentState
.Committing;
873
localEnlistment.State = OletxEnlistment.
OletxEnlistmentState
.Aborting;