4 types derived from TransactionException
System.Transactions.Local (4)
System\Transactions\TransactionException.cs (4)
152
public class TransactionAbortedException :
TransactionException
229
public class TransactionInDoubtException :
TransactionException
292
public class TransactionManagerCommunicationException :
TransactionException
351
public class TransactionPromotionException :
TransactionException
3 instantiations of TransactionException
System.Transactions.Local (3)
System\Transactions\TransactionException.cs (3)
30
return new
TransactionException
(message, innerException);
102
return new
TransactionException
(SR.Format(SR.DistributedTxIDInTransactionException, message, distributedTxId));
104
return 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)
61
throw
TransactionException
.CreateTransactionCompletedException(DistributedTxId);
95
throw
TransactionException
.CreateTransactionCompletedException(DistributedTxId);
System\Transactions\DependentTransaction.cs (1)
46
throw
TransactionException
.CreateTransactionCompletedException(DistributedTxId);
System\Transactions\EnlistmentState.cs (15)
24
throw
TransactionException
.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId);
29
throw
TransactionException
.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId);
34
throw
TransactionException
.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId);
39
throw
TransactionException
.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId);
44
throw
TransactionException
.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId);
49
throw
TransactionException
.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId);
54
throw
TransactionException
.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId);
60
throw
TransactionException
.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId);
66
throw
TransactionException
.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId);
72
throw
TransactionException
.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId);
78
throw
TransactionException
.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId);
84
throw
TransactionException
.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId);
90
throw
TransactionException
.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId);
96
throw
TransactionException
.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId);
102
throw
TransactionException
.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId);
System\Transactions\InternalTransaction.cs (1)
328
TransactionException
.CreateInvalidOperationException(TraceSourceType.TraceSourceLtm,
System\Transactions\Transaction.cs (9)
497
throw
TransactionException
.CreateTransactionCompletedException(DistributedTxId);
545
throw
TransactionException
.CreateTransactionCompletedException(DistributedTxId);
632
throw
TransactionException
.CreateTransactionCompletedException(DistributedTxId);
671
throw
TransactionException
.CreateTransactionCompletedException(DistributedTxId);
702
throw
TransactionException
.CreateTransactionCompletedException(DistributedTxId);
750
throw
TransactionException
.CreateTransactionCompletedException(DistributedTxId);
912
throw
TransactionException
.CreateTransactionCompletedException(DistributedTxId);
959
throw
TransactionException
.CreateTransactionCompletedException(DistributedTxId);
997
throw
TransactionException
.CreateTransactionCompletedException(DistributedTxId);
System\Transactions\TransactionException.cs (5)
22
internal static
TransactionException
Create(string? message, Exception? innerException)
33
internal static
TransactionException
CreateTransactionStateException(Exception? innerException)
98
internal static
TransactionException
Create(string? message, Guid distributedTxId)
107
internal static
TransactionException
Create(string? message, Exception? innerException, Guid distributedTxId)
116
internal static
TransactionException
CreateTransactionStateException(Exception? innerException, Guid distributedTxId)
System\Transactions\TransactionInteropNonWindows.cs (1)
19
throw
TransactionException
.CreateTransactionCompletedException(transaction.DistributedTxId);
System\Transactions\TransactionScope.cs (10)
563
throw
TransactionException
.CreateInvalidOperationException(
600
exToThrow =
TransactionException
.CreateInvalidOperationException(TraceSourceType.TraceSourceBase, SR.TransactionScopeIncorrectCurrent, null,
610
catch (
TransactionException
)
627
exToThrow =
TransactionException
.CreateInvalidOperationException(TraceSourceType.TraceSourceBase, SR.TransactionScopeInvalidNesting, null,
651
catch (
TransactionException
)
701
exToThrow =
TransactionException
.CreateInvalidOperationException(TraceSourceType.TraceSourceBase, SR.TransactionScopeIncorrectCurrent, null,
712
catch (
TransactionException
)
839
throw
TransactionException
.CreateInvalidOperationException(TraceSourceType.TraceSourceBase, SR.DisposeScope, null);
860
throw
TransactionException
.Create(SR.InternalError + SR.TransactionScopeTimerObjectInvalid, null);
887
catch (
TransactionException
txEx)
System\Transactions\TransactionState.cs (70)
180
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
187
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
192
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
203
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
214
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
224
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
234
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
260
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
265
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
275
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
289
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
294
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
412
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
418
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
445
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
450
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
461
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
468
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
1557
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
1620
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
2074
catch (
TransactionException
te)
2151
throw
TransactionException
.CreateInvalidOperationException(TraceSourceType.TraceSourceLtm,
2194
catch (
TransactionException
te)
2306
catch (
TransactionException
te)
2335
catch (
TransactionException
te)
2365
catch (
TransactionException
te)
2413
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
2424
catch (
TransactionException
e)
2474
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
2619
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
2625
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
2665
throw
TransactionException
.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
2671
throw
TransactionException
.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
2677
throw
TransactionException
.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
2683
throw
TransactionException
.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
2710
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
2716
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
2722
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
2837
throw
TransactionException
.CreateInvalidOperationException(
2880
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
2886
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
3253
throw
TransactionException
.CreateInvalidOperationException(TraceSourceType.TraceSourceLtm,
3680
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
3776
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
3802
throw
TransactionException
.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
3812
throw
TransactionException
.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
3821
throw
TransactionException
.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
3826
throw
TransactionException
.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
3831
throw
TransactionException
.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
3860
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
3866
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
3901
throw
TransactionException
.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
3911
throw
TransactionException
.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
3920
throw
TransactionException
.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
3925
throw
TransactionException
.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
3930
throw
TransactionException
.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
3948
throw
TransactionException
.CreateInvalidOperationException(
3985
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
3990
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
4339
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
4410
throw
TransactionException
.CreateInvalidOperationException(
4428
throw
TransactionException
.CreateInvalidOperationException(
4451
throw
TransactionException
.CreateInvalidOperationException(
4478
throw
TransactionException
.CreateInvalidOperationException(
4489
throw
TransactionException
.CreateInvalidOperationException(
4526
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
4531
throw
TransactionException
.CreateInvalidOperationException(
4569
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
4574
throw
TransactionException
.CreateInvalidOperationException(
4669
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
System\Transactions\TransactionTable.cs (2)
239
throw
TransactionException
.CreateInvalidOperationException(
446
throw
TransactionException
.CreateInvalidOperationException(
System\Transactions\VolatileEnlistmentMultiplexing.cs (4)
97
throw
TransactionException
.CreateInvalidOperationException(
136
throw
TransactionException
.CreateInvalidOperationException(
175
throw
TransactionException
.CreateInvalidOperationException(
214
throw
TransactionException
.CreateInvalidOperationException(
System\Transactions\VolatileEnlistmentState.cs (1)
71
throw
TransactionException
.CreateInvalidOperationException(TraceSourceType.TraceSourceLtm,