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); 2619throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 2625throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 2665throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 2671throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 2677throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 2683throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 2710throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 2716throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 2722throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 2837throw TransactionException.CreateInvalidOperationException( 2880throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 2886throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 3253throw TransactionException.CreateInvalidOperationException(TraceSourceType.TraceSourceLtm, 3680throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 3776throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 3802throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 3812throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 3821throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 3826throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 3831throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 3860throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 3866throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 3901throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 3911throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 3920throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 3925throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 3930throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 3948throw TransactionException.CreateInvalidOperationException( 3985throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 3990throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 4339throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 4410throw TransactionException.CreateInvalidOperationException( 4428throw TransactionException.CreateInvalidOperationException( 4451throw TransactionException.CreateInvalidOperationException( 4478throw TransactionException.CreateInvalidOperationException( 4489throw TransactionException.CreateInvalidOperationException( 4526throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 4531throw TransactionException.CreateInvalidOperationException( 4569throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId); 4574throw TransactionException.CreateInvalidOperationException( 4669throw TransactionException.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
System\Transactions\TransactionTable.cs (2)
239throw TransactionException.CreateInvalidOperationException( 446throw 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,