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