Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
TransactionInDoubtException.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
21 {
23 if (log.IsEnabled())
24 {
25 log.TransactionExceptionTrace(traceSource, TransactionExceptionType.TransactionInDoubtException, message, (innerException == null) ? string.Empty : innerException.ToString());
26 }
28 }
29
31 : base(System.SR.TransactionIndoubt)
32 {
33 }
34
35 public TransactionInDoubtException(string? message)
36 : base(message)
37 {
38 }
39
41 : base(message, innerException)
42 {
43 }
44
46 : base(info, context)
47 {
48 }
49}
static string DistributedTxIDInTransactionException
Definition SR.cs:80
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
Definition SR.cs:7
static bool IncludeDistributedTxId(Guid distributedTxId)
static TransactionInDoubtException Create(TraceSourceType traceSource, string message, Exception innerException, Guid distributedTxId)
static new TransactionInDoubtException Create(TraceSourceType traceSource, string message, Exception innerException)
TransactionInDoubtException(SerializationInfo info, StreamingContext context)
TransactionInDoubtException(string? message, Exception? innerException)
static readonly TransactionsEtwProvider Log