61 references to Transaction
System.Transactions (61)
System\Transactions\DurableEnlistmentState.cs (26)
214
Monitor.Exit( enlistment.
Transaction
);
239
Monitor.Enter(enlistment.
Transaction
);
247
if ( enlistment.
Transaction
.innerException == null )
249
enlistment.
Transaction
.innerException = e;
276
Monitor.Exit( enlistment.
Transaction
);
306
Monitor.Enter(enlistment.
Transaction
);
321
enlistment.
Transaction
.State.ChangeStateTransactionCommitted( enlistment.
Transaction
);
331
enlistment.
Transaction
.State.ChangeStateTransactionCommitted( enlistment.
Transaction
);
341
enlistment.
Transaction
.State.ChangeStateTransactionAborted( enlistment.
Transaction
, e );
350
if ( enlistment.
Transaction
.innerException == null )
352
enlistment.
Transaction
.innerException = e;
356
enlistment.
Transaction
.State.InDoubtFromEnlistment( enlistment.
Transaction
);
382
enlistment.
Transaction
.State.ChangeStatePromotedCommitted( enlistment.
Transaction
);
391
if ( enlistment.
Transaction
.innerException == null )
393
enlistment.
Transaction
.innerException = e;
397
enlistment.
Transaction
.State.ChangeStatePromotedAborted( enlistment.
Transaction
);
406
if ( enlistment.
Transaction
.innerException == null )
408
enlistment.
Transaction
.innerException = e;
415
enlistment.
Transaction
.State.InDoubtFromEnlistment( enlistment.
Transaction
);
System\Transactions\Enlistment.cs (11)
81
if (this.
Transaction
!= null )
83
returnValue = this.
Transaction
.DistributedTxId;
314
this.
Transaction
.phase0Volatiles.preparedVolatileEnlistments++;
322
Debug.Assert(this.
Transaction
.phase0Volatiles.preparedVolatileEnlistments <=
323
this.
Transaction
.phase0Volatiles.volatileEnlistmentCount + this.
Transaction
.phase0Volatiles.dependentClones);
326
if (this.
Transaction
.phase0Volatiles.preparedVolatileEnlistments ==
327
this.
Transaction
.phase0VolatileWaveCount + this.
Transaction
.phase0Volatiles.dependentClones)
329
this.
Transaction
.State.Phase0VolatilePrepareDone(this.
Transaction
);
System\Transactions\VolatileEnlistmentState.cs (24)
337
Monitor.Exit( enlistment.
Transaction
);
354
Monitor.Enter(enlistment.
Transaction
);
386
enlistment.
Transaction
.State.ChangeStateTransactionAborted( enlistment.
Transaction
, e );
430
Monitor.Exit( enlistment.
Transaction
);
446
Monitor.Enter(enlistment.
Transaction
);
455
enlistment.
Transaction
.State.ChangeStateTransactionCommitted( enlistment.
Transaction
);
462
enlistment.
Transaction
.State.ChangeStateTransactionCommitted( enlistment.
Transaction
);
470
enlistment.
Transaction
.State.ChangeStateTransactionAborted( enlistment.
Transaction
, e );
478
if ( enlistment.
Transaction
.innerException == null )
480
enlistment.
Transaction
.innerException = e;
483
enlistment.
Transaction
.State.InDoubtFromEnlistment( enlistment.
Transaction
);
563
if ( enlistment.
Transaction
.innerException == null )
567
enlistment.
Transaction
.innerException = e;
592
Monitor.Exit( enlistment.
Transaction
);
609
Monitor.Enter(enlistment.
Transaction
);
643
Monitor.Exit( enlistment.
Transaction
);
661
Monitor.Enter(enlistment.
Transaction
);
683
Monitor.Exit( enlistment.
Transaction
);
701
Monitor.Enter(enlistment.
Transaction
);