4 writes to internalTransaction
System.Transactions (4)
System\Transactions\CommittableTransaction.cs (1)
54
this.
internalTransaction
= new InternalTransaction(timeout, this);
System\Transactions\Transaction.cs (3)
441
this.
internalTransaction
= internalTransaction;
458
this.
internalTransaction
= new InternalTransaction(this, oleTransaction);
483
this.
internalTransaction
= new InternalTransaction(this, superior);
116 references to internalTransaction
System.Transactions (116)
System\Transactions\CommittableTransaction.cs (36)
58
this.
internalTransaction
.cloneCount = 1;
89
lock (this.
internalTransaction
)
99
this.
internalTransaction
.State.BeginCommit(this.
internalTransaction
, true, asyncCallback, asyncState);
133
lock (this.
internalTransaction
)
140
this.
internalTransaction
.State.BeginCommit(this.
internalTransaction
, false, null, null);
146
if (this.
internalTransaction
.State.IsCompleted(this.
internalTransaction
))
150
} while (System.Threading.Monitor.Wait(this.
internalTransaction
));
152
this.
internalTransaction
.State.EndCommit(this.
internalTransaction
);
179
if (this.
internalTransaction
.State.get_Status(this.
internalTransaction
) == TransactionStatus.Active)
181
lock (this.
internalTransaction
)
184
this.
internalTransaction
.State.DisposeRoot(this.
internalTransaction
);
189
long remainingITx = Interlocked.Decrement(ref this.
internalTransaction
.cloneCount);
192
this.
internalTransaction
.Dispose();
220
lock (this.
internalTransaction
)
224
if (this.
internalTransaction
.State.IsCompleted(this.
internalTransaction
))
228
} while (System.Threading.Monitor.Wait(this.
internalTransaction
));
230
this.
internalTransaction
.State.EndCommit(this.
internalTransaction
);
245
return this.
internalTransaction
.asyncState;
261
if (this.
internalTransaction
.asyncResultEvent == null)
263
lock (this.
internalTransaction
)
265
if (this.
internalTransaction
.asyncResultEvent == null)
269
this.
internalTransaction
.State.get_Status(this.
internalTransaction
) != TransactionStatus.Active
272
this.
internalTransaction
.asyncResultEvent = temp;
277
return this.
internalTransaction
.asyncResultEvent;
285
lock (this.
internalTransaction
)
287
return this.
internalTransaction
.State.get_Status(this.
internalTransaction
) != TransactionStatus.Active;
System\Transactions\DependentTransaction.cs (10)
32
lock (this.
internalTransaction
)
36
this.
internalTransaction
.State.CreateBlockingClone(this.
internalTransaction
);
40
this.
internalTransaction
.State.CreateAbortingClone(this.
internalTransaction
);
53
lock (this.
internalTransaction
)
69
this.
internalTransaction
.State.CompleteBlockingClone(this.
internalTransaction
);
73
this.
internalTransaction
.State.CompleteAbortingClone(this.
internalTransaction
);
System\Transactions\Oletx\OleTxTransaction.cs (1)
204
returnValue.
internalTransaction
.PromotedTransaction.TransactionTraceId
System\Transactions\Oletx\OletxTransactionManager.cs (1)
1024
realTx = tx.
internalTransaction
.PromotedTransaction.realOletxTransaction;
System\Transactions\Transaction.cs (65)
403
if (this.
internalTransaction
!= null)
405
returnValue = this.
internalTransaction
.DistributedTxId;
442
this.cloneId = Interlocked.Increment(ref this.
internalTransaction
.cloneCount);
459
this.cloneId = Interlocked.Increment(ref this.
internalTransaction
.cloneCount);
485
this.
internalTransaction
.SetPromoterTypeToMSDTC();
496
return this.
internalTransaction
.TransactionHash;
515
return this.
internalTransaction
.TransactionHash == transaction.
internalTransaction
.TransactionHash;
559
TransactionInformation txInfo = this.
internalTransaction
.transactionInformation;
563
txInfo = new TransactionInformation(this.
internalTransaction
);
564
this.
internalTransaction
.transactionInformation = txInfo;
635
lock (this.
internalTransaction
)
637
return this.
internalTransaction
.promoterType;
678
lock (this.
internalTransaction
)
680
internalPromotedToken = this.
internalTransaction
.State.PromotedToken(this.
internalTransaction
);
727
lock (this.
internalTransaction
)
729
Enlistment enlistment = this.
internalTransaction
.State.EnlistDurable(this.
internalTransaction
,
785
lock (this.
internalTransaction
)
787
Enlistment enlistment = this.
internalTransaction
.State.EnlistDurable(this.
internalTransaction
,
822
lock (this.
internalTransaction
)
824
Debug.Assert(this.
internalTransaction
.State != null);
825
this.
internalTransaction
.State.Rollback(this.
internalTransaction
, null);
860
lock (this.
internalTransaction
)
862
Debug.Assert(this.
internalTransaction
.State != null);
863
this.
internalTransaction
.State.Rollback(this.
internalTransaction
, e);
910
lock (this.
internalTransaction
)
912
Enlistment enlistment = this.
internalTransaction
.State.EnlistVolatile(this.
internalTransaction
,
961
lock (this.
internalTransaction
)
963
Enlistment enlistment = this.
internalTransaction
.State.EnlistVolatile(this.
internalTransaction
,
1015
this.
internalTransaction
);
1059
this.isoLevel, this.
internalTransaction
, cloneOption == DependentCloneOption.BlockCommitUntilComplete);
1084
lock (this.
internalTransaction
)
1089
this.
internalTransaction
.TransactionTraceId.TransactionIdentifier,
1113
lock (this.
internalTransaction
)
1116
this.
internalTransaction
.State.AddOutcomeRegistrant(this.
internalTransaction
, value);
1122
lock (this.
internalTransaction
)
1124
this.
internalTransaction
.transactionCompletedDelegate = (TransactionCompletedEventHandler)
1125
System.Delegate.Remove(this.
internalTransaction
.transactionCompletedDelegate, value);
1155
long remainingITx = Interlocked.Decrement(ref this.
internalTransaction
.cloneCount);
1158
this.
internalTransaction
.Dispose();
1201
lock (this.
internalTransaction
)
1203
this.
internalTransaction
.State.GetObjectData(this.
internalTransaction
, serializationInfo, context);
1296
lock (this.
internalTransaction
)
1298
succeeded = this.
internalTransaction
.State.EnlistPromotableSinglePhase(this.
internalTransaction
, promotableSinglePhaseNotification, this, promoterType);
1355
lock (this.
internalTransaction
)
1357
Enlistment enlistment = this.
internalTransaction
.State.PromoteAndEnlistDurable(this.
internalTransaction
,
1401
lock (this.
internalTransaction
)
1403
this.
internalTransaction
.State.SetDistributedTransactionId(this.
internalTransaction
,
1419
lock (this.
internalTransaction
)
1422
this.
internalTransaction
.ThrowIfPromoterTypeIsNotMSDTC();
1423
this.
internalTransaction
.State.Promote(this.
internalTransaction
);
1424
return this.
internalTransaction
.PromotedTransaction;
System\Transactions\TransactionInterop.cs (1)
706
InternalTransaction.DistributedTransactionOutcome(transaction.
internalTransaction
, TransactionStatus.InDoubt);
System\Transactions\TransactionManager.cs (2)
673
tx.
internalTransaction
.finalizedObject = new FinalizedObject( tx.
internalTransaction
, oletx.Identifier );