Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Create() [4/4]

static TransactionException System.Transactions.TransactionException.Create ( TraceSourceType traceSource,
string message,
Exception innerException )
inlinestaticpackageinherited

Definition at line 30 of file TransactionException.cs.

31 {
32 TransactionsEtwProvider log = TransactionsEtwProvider.Log;
33 if (log.IsEnabled())
34 {
35 log.TransactionExceptionTrace(TransactionExceptionType.TransactionException, message, (innerException == null) ? string.Empty : innerException.ToString());
36 }
37 return new TransactionException(message, innerException);
38 }
override string ToString()
Definition Exception.cs:384

References System.Transactions.TransactionException.TransactionException(), System.Runtime.Serialization.Dictionary, and System.Transactions.TransactionsEtwProvider.Log.