1 write to State
System.Transactions (1)
System\Transactions\TransactionState.cs (1)
769
tx.
State
= this;
102 references to State
System.Transactions (102)
System\Transactions\CommittableTransaction.cs (10)
99
this.internalTransaction.
State
.BeginCommit(this.internalTransaction, true, asyncCallback, asyncState);
140
this.internalTransaction.
State
.BeginCommit(this.internalTransaction, false, null, null);
146
if (this.internalTransaction.
State
.IsCompleted(this.internalTransaction))
152
this.internalTransaction.
State
.EndCommit(this.internalTransaction);
179
if (this.internalTransaction.
State
.get_Status(this.internalTransaction) == TransactionStatus.Active)
184
this.internalTransaction.
State
.DisposeRoot(this.internalTransaction);
224
if (this.internalTransaction.
State
.IsCompleted(this.internalTransaction))
230
this.internalTransaction.
State
.EndCommit(this.internalTransaction);
269
this.internalTransaction.
State
.get_Status(this.internalTransaction) != TransactionStatus.Active
287
return this.internalTransaction.
State
.get_Status(this.internalTransaction) != TransactionStatus.Active;
System\Transactions\DependentTransaction.cs (4)
36
this.internalTransaction.
State
.CreateBlockingClone(this.internalTransaction);
40
this.internalTransaction.
State
.CreateAbortingClone(this.internalTransaction);
69
this.internalTransaction.
State
.CompleteBlockingClone(this.internalTransaction);
73
this.internalTransaction.
State
.CompleteAbortingClone(this.internalTransaction);
System\Transactions\DurableEnlistmentState.cs (7)
321
enlistment.Transaction.
State
.ChangeStateTransactionCommitted( enlistment.Transaction );
331
enlistment.Transaction.
State
.ChangeStateTransactionCommitted( enlistment.Transaction );
341
enlistment.Transaction.
State
.ChangeStateTransactionAborted( enlistment.Transaction, e );
356
enlistment.Transaction.
State
.InDoubtFromEnlistment( enlistment.Transaction );
382
enlistment.Transaction.
State
.ChangeStatePromotedCommitted( enlistment.Transaction );
397
enlistment.Transaction.
State
.ChangeStatePromotedAborted( enlistment.Transaction );
415
enlistment.Transaction.
State
.InDoubtFromEnlistment( enlistment.Transaction );
System\Transactions\Enlistment.cs (2)
329
this.Transaction.
State
.Phase0VolatilePrepareDone(this.Transaction);
531
this.transaction.
State
.Phase1VolatilePrepareDone(this.transaction);
System\Transactions\InternalTransaction.cs (4)
217
return this.
State
.get_Identifier(this);
403
tx.
State
.ChangeStatePromotedCommitted( tx );
409
tx.
State
.ChangeStatePromotedAborted( tx );
415
tx.
State
.InDoubtFromDtc( tx );
System\Transactions\Transaction.cs (15)
680
internalPromotedToken = this.internalTransaction.
State
.PromotedToken(this.internalTransaction);
729
Enlistment enlistment = this.internalTransaction.
State
.EnlistDurable(this.internalTransaction,
787
Enlistment enlistment = this.internalTransaction.
State
.EnlistDurable(this.internalTransaction,
824
Debug.Assert(this.internalTransaction.
State
!= null);
825
this.internalTransaction.
State
.Rollback(this.internalTransaction, null);
862
Debug.Assert(this.internalTransaction.
State
!= null);
863
this.internalTransaction.
State
.Rollback(this.internalTransaction, e);
912
Enlistment enlistment = this.internalTransaction.
State
.EnlistVolatile(this.internalTransaction,
963
Enlistment enlistment = this.internalTransaction.
State
.EnlistVolatile(this.internalTransaction,
1116
this.internalTransaction.
State
.AddOutcomeRegistrant(this.internalTransaction, value);
1203
this.internalTransaction.
State
.GetObjectData(this.internalTransaction, serializationInfo, context);
1298
succeeded = this.internalTransaction.
State
.EnlistPromotableSinglePhase(this.internalTransaction, promotableSinglePhaseNotification, this, promoterType);
1357
Enlistment enlistment = this.internalTransaction.
State
.PromoteAndEnlistDurable(this.internalTransaction,
1403
this.internalTransaction.
State
.SetDistributedTransactionId(this.internalTransaction,
1423
this.internalTransaction.
State
.Promote(this.internalTransaction);
System\Transactions\TransactionInformation.cs (2)
68
return this.internalTransaction.
State
.get_Identifier( this.internalTransaction );
107
return this.internalTransaction.
State
.get_Status( this.internalTransaction );
System\Transactions\TransactionState.cs (43)
768
Debug.Assert( tx.
State
!= this, "Changing to the same state." );
1185
return tx.
State
.EnlistDurable( tx, resourceManagerIdentifier, enlistmentNotification, enlistmentOptions, atomicTransaction );
1203
return tx.
State
.EnlistDurable( tx, resourceManagerIdentifier, enlistmentNotification, enlistmentOptions, atomicTransaction );
1247
tx.
State
.GetObjectData( tx, serializationInfo, context );
1267
tx.
State
.Phase0VolatilePrepareDone( tx );
1301
tx.
State
.CheckForFinishedTransaction( tx );
1309
tx.
State
.CheckForFinishedTransaction(tx);
1485
tx.
State
.Rollback( tx, null );
1529
return tx.
State
.EnlistVolatile( tx, enlistmentNotification, enlistmentOptions, atomicTransaction );
1541
return tx.
State
.EnlistVolatile( tx, enlistmentNotification, enlistmentOptions, atomicTransaction );
1549
return tx.
State
.get_Status( tx );
1556
tx.
State
.AddOutcomeRegistrant( tx, transactionCompletedDelegate );
1574
tx.
State
.CreateBlockingClone( tx );
1581
tx.
State
.CreateAbortingClone( tx );
1611
if ( !tx.
State
.ContinuePhase0Prepares() )
1639
tx.
State
.RestartCommitIfNeeded( tx );
1658
tx.
State
.RestartCommitIfNeeded( tx );
1807
if ( !tx.
State
.ContinuePhase0Prepares() )
1841
tx.
State
.CheckForFinishedTransaction( tx );
1842
tx.
State
.RestartCommitIfNeeded( tx );
1866
tx.
State
.GetObjectData( tx, serializationInfo, context );
1869
tx.
State
.RestartCommitIfNeeded( tx );
1906
if ( !tx.
State
.ContinuePhase1Prepares() )
2650
tx.
State
.Phase0VolatilePrepareDone( tx );
2986
tx.
State
.ChangeStateAbortedDuringPromotion( tx );
3097
tx.
State
.ChangeStateAbortedDuringPromotion( tx );
3126
tx.
State
.ChangeStateAbortedDuringPromotion( tx );
3156
tx.
State
.ChangeStateAbortedDuringPromotion( tx );
3164
tx.
State
.Rollback( tx, null );
3300
if ( !tx.
State
.ContinuePhase0Prepares() )
3373
tx.
State
.ChangeStateTransactionAborted( tx, null );
3391
if ( !tx.
State
.ContinuePhase1Prepares() )
4111
tx.
State
.ChangeStateAbortedDuringPromotion( tx );
4373
tx.
State
.Phase0VolatilePrepareDone(tx);
4475
tx.
State
.Rollback(tx, null);
4504
if (!tx.
State
.ContinuePhase0Prepares())
4548
if (!tx.
State
.ContinuePhase0Prepares())
4598
if (!tx.
State
.ContinuePhase1Prepares())
5149
tx.
State
.ChangeStateAbortedDuringPromotion(tx);
5220
Debug.Assert( tx.
State
== _TransactionStateActive, "PSPEPromote called from state other than TransactionStateActive" );
5247
Debug.Assert( tx.
State
== _TransactionStatePhase0, "Phase0PSPEInitialize called from state other than _TransactionStatePhase0" );
5270
TransactionState returnState = tx.
State
;
5426
enlistment = tx.
State
.EnlistDurable(tx, resourceManagerIdentifier, enlistmentNotification, enlistmentOptions, atomicTransaction);
System\Transactions\TransactionTable.cs (2)
663
tx.
State
.Timeout( tx );
707
tx.
State
.Timeout( tx );
System\Transactions\VolatileEnlistmentMultiplexing.cs (8)
356
this.transaction.
State
.ChangeStatePromotedPhase0( this.transaction );
383
this.transaction.
State
.ChangeStatePromotedCommitted( this.transaction );
391
this.transaction.
State
.ChangeStatePromotedAborted( this.transaction );
396
this.transaction.
State
.InDoubtFromDtc( this.transaction );
441
this.transaction.
State
.ChangeStatePromotedPhase1( this.transaction );
469
this.transaction.
State
.ChangeStatePromotedCommitted( this.transaction );
478
this.transaction.
State
.ChangeStatePromotedAborted( this.transaction );
484
this.transaction.
State
.InDoubtFromDtc( this.transaction );
System\Transactions\VolatileEnlistmentState.cs (5)
386
enlistment.Transaction.
State
.ChangeStateTransactionAborted( enlistment.Transaction, e );
455
enlistment.Transaction.
State
.ChangeStateTransactionCommitted( enlistment.Transaction );
462
enlistment.Transaction.
State
.ChangeStateTransactionCommitted( enlistment.Transaction );
470
enlistment.Transaction.
State
.ChangeStateTransactionAborted( enlistment.Transaction, e );
483
enlistment.Transaction.
State
.InDoubtFromEnlistment( enlistment.Transaction );