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);
2622
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
2628
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
2668
throw
TransactionException
.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
2674
throw
TransactionException
.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
2680
throw
TransactionException
.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
2686
throw
TransactionException
.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
2713
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
2719
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
2725
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
2840
throw
TransactionException
.CreateInvalidOperationException(
2883
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
2889
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
3256
throw
TransactionException
.CreateInvalidOperationException(TraceSourceType.TraceSourceLtm,
3683
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
3779
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
3805
throw
TransactionException
.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
3815
throw
TransactionException
.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
3824
throw
TransactionException
.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
3829
throw
TransactionException
.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
3834
throw
TransactionException
.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
3863
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
3869
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
3904
throw
TransactionException
.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
3914
throw
TransactionException
.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
3923
throw
TransactionException
.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
3928
throw
TransactionException
.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
3933
throw
TransactionException
.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
3951
throw
TransactionException
.CreateInvalidOperationException(
3988
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
3993
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
4342
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
4413
throw
TransactionException
.CreateInvalidOperationException(
4431
throw
TransactionException
.CreateInvalidOperationException(
4454
throw
TransactionException
.CreateInvalidOperationException(
4481
throw
TransactionException
.CreateInvalidOperationException(
4492
throw
TransactionException
.CreateInvalidOperationException(
4529
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
4534
throw
TransactionException
.CreateInvalidOperationException(
4572
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
4577
throw
TransactionException
.CreateInvalidOperationException(
4672
throw
TransactionException
.CreateTransactionStateException(tx._innerException, tx.DistributedTxId);
System\Transactions\TransactionTable.cs (2)
239
throw
TransactionException
.CreateInvalidOperationException(
449
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,