117 references to TransactionManager
System.ServiceModel (4)
System\ServiceModel\Dispatcher\TransactionBehavior.cs (4)
87
timeout =
TransactionManager
.DefaultTimeout;
89
else if (TimeSpan.Zero !=
TransactionManager
.MaximumTimeout && timeout >
TransactionManager
.MaximumTimeout)
91
timeout =
TransactionManager
.MaximumTimeout;
System.Transactions (113)
System\Transactions\CommittableTransaction.cs (3)
26
) : this(System.Transactions.
TransactionManager
.DefaultIsolationLevel,
27
System.Transactions.
TransactionManager
.DefaultTimeout)
35
) : this(System.Transactions.
TransactionManager
.DefaultIsolationLevel, timeout)
System\Transactions\InternalTransaction.cs (11)
321
if ( !
TransactionManager
._platformValidated )
TransactionManager
.ValidatePlatform();
324
this.absoluteTimeout =
TransactionManager
.TransactionTable.TimeoutTicks( timeout );
337
this.transactionHash =
TransactionManager
.TransactionTable.Add( this );
344
if ( !
TransactionManager
._platformValidated )
TransactionManager
.ValidatePlatform();
354
this.transactionHash =
TransactionManager
.TransactionTable.Add( this );
367
if ( !
TransactionManager
._platformValidated )
TransactionManager
.ValidatePlatform();
375
this.transactionHash =
TransactionManager
.TransactionTable.Add( this );
536
Hashtable promotedTransactionTable =
TransactionManager
.PromotedTransactionTable;
System\Transactions\Oletx\OletxEnlistment.cs (4)
382
byte[] oletxRecoveryInformationByteArray =
TransactionManager
.ConvertToByteArray( oletxRecoveryInformation );
387
this.prepareInfoByteArray =
TransactionManager
.GetRecoveryInformation(
759
byte[] oletxRecoveryInformationByteArray =
TransactionManager
.ConvertToByteArray( oletxRecoveryInformation );
762
this.prepareInfoByteArray =
TransactionManager
.GetRecoveryInformation(
System\Transactions\Oletx\OletxTransactionManager.cs (6)
569
configuredTransactionOptions.IsolationLevel = isolationLevelProperty =
TransactionManager
.DefaultIsolationLevel;
570
configuredTransactionOptions.Timeout = timeoutProperty =
TransactionManager
.DefaultTimeout;
609
TransactionManager
.ValidateIsolationLevel( properties.IsolationLevel );
617
properties.Timeout =
TransactionManager
.ValidateTimeout( properties.Timeout );
1009
lock (
TransactionManager
.PromotedTransactionTable.SyncRoot )
1011
txHashTable = (Hashtable)
TransactionManager
.PromotedTransactionTable.Clone();
System\Transactions\Transaction.cs (8)
254
if (
TransactionManager
.currentDelegateSet)
256
current =
TransactionManager
.currentDelegate();
346
if (!
TransactionManager
._platformValidated)
TransactionManager
.ValidatePlatform();
429
TransactionManager
.ValidateIsolationLevel(isoLevel);
436
this.isoLevel = System.Transactions.
TransactionManager
.DefaultIsolationLevel;
468
TransactionManager
.ValidateIsolationLevel(isoLevel);
480
this.isoLevel = System.Transactions.
TransactionManager
.DefaultIsolationLevel;
System\Transactions\TransactionInterop.cs (25)
89
if ( !
TransactionManager
._platformValidated )
TransactionManager
.ValidatePlatform();
170
if ( !
TransactionManager
._platformValidated )
TransactionManager
.ValidatePlatform();
213
transaction =
TransactionManager
.FindPromotedTransaction( txId );
227
OletxTransactionManager oletxTm =
TransactionManager
.DistributedTransactionManager;
286
transaction =
TransactionManager
.FindOrCreatePromotedTransaction( txId, oleTx );
303
if ( !
TransactionManager
._platformValidated )
TransactionManager
.ValidatePlatform();
373
if ( !
TransactionManager
._platformValidated )
TransactionManager
.ValidatePlatform();
407
Transaction tx =
TransactionManager
.FindPromotedTransaction( txId );
423
returnValue =
TransactionManager
.FindOrCreatePromotedTransaction( txId, oleTx );
460
OletxTransactionManager oletxTm =
TransactionManager
.DistributedTransactionManager;
526
if ( !
TransactionManager
._platformValidated )
TransactionManager
.ValidatePlatform();
570
if ( !
TransactionManager
._platformValidated )
TransactionManager
.ValidatePlatform();
622
OletxTransactionManager oletxTm =
TransactionManager
.DistributedTransactionManager;
627
transaction =
TransactionManager
.FindPromotedTransaction( xactInfo.uow );
687
transaction =
TransactionManager
.FindOrCreatePromotedTransaction( xactInfo.uow, oleTx );
703
TransactionManager
.FireDistributedTransactionStarted( transaction );
722
if ( !
TransactionManager
._platformValidated )
TransactionManager
.ValidatePlatform();
733
OletxTransactionManager oletxTm =
TransactionManager
.DistributedTransactionManager;
System\Transactions\TransactionManager.cs (25)
66
if ( !
TransactionManager
._platformValidated )
TransactionManager
.ValidatePlatform();
70
TransactionManager
.distributedTransactionStartedDelegate = (TransactionStartedEventHandler)System.Delegate.Combine(
TransactionManager
.distributedTransactionStartedDelegate, value);
81
if ( !
TransactionManager
._platformValidated )
TransactionManager
.ValidatePlatform();
85
TransactionManager
.distributedTransactionStartedDelegate = (TransactionStartedEventHandler)System.Delegate.Remove (
TransactionManager
.distributedTransactionStartedDelegate, value);
115
localStartedEventHandler =
TransactionManager
.distributedTransactionStartedDelegate;
142
if ( !
TransactionManager
._platformValidated )
TransactionManager
.ValidatePlatform();
152
if ( !
TransactionManager
._platformValidated )
TransactionManager
.ValidatePlatform();
197
if ( !
TransactionManager
._platformValidated )
TransactionManager
.ValidatePlatform();
224
if ( recoveryInformationVersion ==
TransactionManager
.recoveryInformationVersion1 )
411
if ( !
TransactionManager
._platformValidated )
TransactionManager
.ValidatePlatform();
452
if ( !
TransactionManager
._platformValidated )
TransactionManager
.ValidatePlatform();
510
writer.Write(
TransactionManager
.currentRecoveryVersion );
603
if (
TransactionManager
.MaximumTimeout != TimeSpan.Zero )
605
if ( transactionTimeout >
TransactionManager
.MaximumTimeout || transactionTimeout == TimeSpan.Zero )
607
return
TransactionManager
.MaximumTimeout;
680
TransactionManager
.FireDistributedTransactionStarted( tx );
System\Transactions\TransactionScope.cs (19)
67
if ( !
TransactionManager
._platformValidated )
TransactionManager
.ValidatePlatform();
136
if ( !
TransactionManager
._platformValidated )
TransactionManager
.ValidatePlatform();
146
TimeSpan txTimeout =
TransactionManager
.ValidateTimeout( scopeTimeout );
219
if ( !
TransactionManager
._platformValidated )
TransactionManager
.ValidatePlatform();
231
transactionOptions.Timeout =
TransactionManager
.ValidateTimeout( transactionOptions.Timeout );
232
TransactionManager
.ValidateIsolationLevel( transactionOptions.IsolationLevel );
310
if ( !
TransactionManager
._platformValidated )
TransactionManager
.ValidatePlatform();
322
transactionOptions.Timeout =
TransactionManager
.ValidateTimeout( transactionOptions.Timeout );
323
TransactionManager
.ValidateIsolationLevel( transactionOptions.IsolationLevel );
407
if ( !
TransactionManager
._platformValidated )
TransactionManager
.ValidatePlatform();
444
if ( !
TransactionManager
._platformValidated )
TransactionManager
.ValidatePlatform();
476
if ( !
TransactionManager
._platformValidated )
TransactionManager
.ValidatePlatform();
System\Transactions\TransactionState.cs (12)
2126
TransactionManager
.TransactionTable.Remove( tx );
2273
TransactionManager
.TransactionTable.Remove( tx );
2337
TransactionManager
.TransactionTable.Remove( tx );
2942
newTimeout =
TransactionManager
.TransactionTable.RecalcTimeout( tx );
2957
TransactionManager
.DistributedTransactionManager.CreateTransaction( options );
2994
Hashtable promotedTransactionTable =
TransactionManager
.PromotedTransactionTable;
3004
TransactionManager
.FireDistributedTransactionStarted( tx.outcomeSource );
3725
TransactionManager
.TransactionTable.Remove( tx );
4134
Hashtable promotedTransactionTable =
TransactionManager
.PromotedTransactionTable;
4144
TransactionManager
.FireDistributedTransactionStarted(tx.outcomeSource);
4692
TransactionManager
.TransactionTable.Remove(tx);
5358
if (
TransactionManager
.FindPromotedTransaction(distributedTx.Identifier) != null)