Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
TransactionAbortedException.cs
Go to the documentation of this file.
3
4namespace System.Transactions;
5
7[TypeForwardedFrom("System.Transactions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
9{
19
20 internal new static TransactionAbortedException Create(string message, Exception innerException)
21 {
23 if (log.IsEnabled())
24 {
25 log.TransactionExceptionTrace(TransactionExceptionType.TransactionAbortedException, message, (innerException == null) ? string.Empty : innerException.ToString());
26 }
28 }
29
31 : base(System.SR.TransactionAborted)
32 {
33 }
34
35 public TransactionAbortedException(string? message)
36 : base(message)
37 {
38 }
39
41 : base(message, innerException)
42 {
43 }
44
49
51 : base(info, context)
52 {
53 }
54}
static string DistributedTxIDInTransactionException
Definition SR.cs:80
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
Definition SR.cs:7
TransactionAbortedException(Exception innerException, Guid distributedTxId)
TransactionAbortedException(string? message, Exception? innerException)
static new TransactionAbortedException Create(string message, Exception innerException)
static new TransactionAbortedException Create(string message, Exception innerException, Guid distributedTxId)
TransactionAbortedException(SerializationInfo info, StreamingContext context)
static bool IncludeDistributedTxId(Guid distributedTxId)
static readonly TransactionsEtwProvider Log