4 types derived from TransactionException
System.Transactions.Local (4)
System\Transactions\TransactionException.cs (4)
152public class TransactionAbortedException : TransactionException 229public class TransactionInDoubtException : TransactionException 292public class TransactionManagerCommunicationException : TransactionException 351public class TransactionPromotionException : TransactionException
3 instantiations of TransactionException
System.Transactions.Local (3)
System\Transactions\TransactionException.cs (3)
30return new TransactionException(message, innerException); 102return new TransactionException(SR.Format(SR.DistributedTxIDInTransactionException, message, distributedTxId)); 104return new TransactionException(message);
123 references to TransactionException
netstandard (1)
netstandard.cs (1)
2186[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Transactions.TransactionException))]
System.Transactions (1)
System.Transactions.cs (1)
27[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Transactions.TransactionException))]
System.Transactions.Local (121)
System\Transactions\CommittableTransaction.cs (2)
61throw TransactionException.CreateTransactionCompletedException(DistributedTxId); 95throw TransactionException.CreateTransactionCompletedException(DistributedTxId);
System\Transactions\DependentTransaction.cs (1)
46throw TransactionException.CreateTransactionCompletedException(DistributedTxId);
System\Transactions\EnlistmentState.cs (15)
24throw TransactionException.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId); 29throw TransactionException.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId); 34throw TransactionException.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId); 39throw TransactionException.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId); 44throw TransactionException.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId); 49throw TransactionException.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId); 54throw TransactionException.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId); 60throw TransactionException.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId); 66throw TransactionException.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId); 72throw TransactionException.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId); 78throw TransactionException.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId); 84throw TransactionException.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId); 90throw TransactionException.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId); 96throw TransactionException.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId); 102throw TransactionException.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId);
System\Transactions\InternalTransaction.cs (1)
328TransactionException.CreateInvalidOperationException(TraceSourceType.TraceSourceLtm,
System\Transactions\Transaction.cs (9)
497throw TransactionException.CreateTransactionCompletedException(DistributedTxId); 545throw TransactionException.CreateTransactionCompletedException(DistributedTxId); 632throw TransactionException.CreateTransactionCompletedException(DistributedTxId); 671throw TransactionException.CreateTransactionCompletedException(DistributedTxId); 702throw TransactionException.CreateTransactionCompletedException(DistributedTxId); 750throw TransactionException.CreateTransactionCompletedException(DistributedTxId); 912throw TransactionException.CreateTransactionCompletedException(DistributedTxId); 959throw TransactionException.CreateTransactionCompletedException(DistributedTxId); 997throw TransactionException.CreateTransactionCompletedException(DistributedTxId);
System\Transactions\TransactionException.cs (5)
22internal static TransactionException Create(string? message, Exception? innerException) 33internal static TransactionException CreateTransactionStateException(Exception? innerException) 98internal static TransactionException Create(string? message, Guid distributedTxId) 107internal static TransactionException Create(string? message, Exception? innerException, Guid distributedTxId) 116internal static TransactionException CreateTransactionStateException(Exception? innerException, Guid distributedTxId)
System\Transactions\TransactionInteropNonWindows.cs (1)
19throw TransactionException.CreateTransactionCompletedException(transaction.DistributedTxId);
System\Transactions\TransactionScope.cs (10)
563throw TransactionException.CreateInvalidOperationException( 600exToThrow = TransactionException.CreateInvalidOperationException(TraceSourceType.TraceSourceBase, SR.TransactionScopeIncorrectCurrent, null, 610catch (TransactionException) 627exToThrow = TransactionException.CreateInvalidOperationException(TraceSourceType.TraceSourceBase, SR.TransactionScopeInvalidNesting, null, 651catch (TransactionException) 701exToThrow = TransactionException.CreateInvalidOperationException(TraceSourceType.TraceSourceBase, SR.TransactionScopeIncorrectCurrent, null, 712catch (TransactionException) 839throw TransactionException.CreateInvalidOperationException(TraceSourceType.TraceSourceBase, SR.DisposeScope, null); 860throw TransactionException.Create(SR.InternalError + SR.TransactionScopeTimerObjectInvalid, null); 887catch (TransactionException txEx)
System\Transactions\TransactionState.cs (70)
180throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 187throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 192throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 203throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 214throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 224throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 234throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 260throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 265throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 275throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 289throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 294throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 412throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 418throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 445throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 450throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 461throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 468throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 1557throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 1620throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 2074catch (TransactionException te) 2151throw TransactionException.CreateInvalidOperationException(TraceSourceType.TraceSourceLtm, 2194catch (TransactionException te) 2306catch (TransactionException te) 2335catch (TransactionException te) 2365catch (TransactionException te) 2413throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 2424catch (TransactionException e) 2474throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 2622throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 2628throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 2668throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 2674throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 2680throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 2686throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 2713throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 2719throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 2725throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 2840throw TransactionException.CreateInvalidOperationException( 2883throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 2889throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 3256throw TransactionException.CreateInvalidOperationException(TraceSourceType.TraceSourceLtm, 3683throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 3779throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 3805throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 3815throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 3824throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 3829throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 3834throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 3863throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 3869throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 3904throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 3914throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 3923throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 3928throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 3933throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 3951throw TransactionException.CreateInvalidOperationException( 3988throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 3993throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 4342throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 4413throw TransactionException.CreateInvalidOperationException( 4431throw TransactionException.CreateInvalidOperationException( 4454throw TransactionException.CreateInvalidOperationException( 4481throw TransactionException.CreateInvalidOperationException( 4492throw TransactionException.CreateInvalidOperationException( 4529throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 4534throw TransactionException.CreateInvalidOperationException( 4572throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 4577throw TransactionException.CreateInvalidOperationException( 4672throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
System\Transactions\TransactionTable.cs (2)
239throw TransactionException.CreateInvalidOperationException( 449throw TransactionException.CreateInvalidOperationException(
System\Transactions\VolatileEnlistmentMultiplexing.cs (4)
97throw TransactionException.CreateInvalidOperationException( 136throw TransactionException.CreateInvalidOperationException( 175throw TransactionException.CreateInvalidOperationException( 214throw TransactionException.CreateInvalidOperationException(
System\Transactions\VolatileEnlistmentState.cs (1)
71throw TransactionException.CreateInvalidOperationException(TraceSourceType.TraceSourceLtm,