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

◆ Create() [1/4]

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

Definition at line 20 of file TransactionException.cs.

21 {
22 TransactionsEtwProvider log = TransactionsEtwProvider.Log;
23 if (log.IsEnabled())
24 {
25 log.TransactionExceptionTrace(TransactionExceptionType.TransactionException, message, (innerException == null) ? string.Empty : innerException.ToString());
26 }
27 return new TransactionException(message, innerException);
28 }
override string ToString()
Definition Exception.cs:384

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

Referenced by System.Transactions.TransactionException.Create(), System.Transactions.TransactionStatePromotedNonMSDTCIndoubt.CreateAbortingClone(), System.Transactions.TransactionStatePromotedNonMSDTCSinglePhaseCommit.CreateAbortingClone(), System.Transactions.TransactionStatePromotedNonMSDTCVolatilePhase1.CreateAbortingClone(), System.Transactions.TransactionStatePromotedNonMSDTCIndoubt.CreateBlockingClone(), System.Transactions.TransactionStatePromotedNonMSDTCSinglePhaseCommit.CreateBlockingClone(), System.Transactions.TransactionStatePromotedNonMSDTCVolatilePhase1.CreateBlockingClone(), System.Transactions.TransactionException.CreateTransactionStateException(), System.Transactions.TransactionStatePromotedNonMSDTCSinglePhaseCommit.EnlistPromotableSinglePhase(), System.Transactions.TransactionStatePromotedNonMSDTCVolatilePhase1.EnlistPromotableSinglePhase(), System.Transactions.TransactionStatePromotedNonMSDTCSinglePhaseCommit.EnlistVolatile(), System.Transactions.TransactionStatePromotedNonMSDTCVolatilePhase1.EnlistVolatile(), System.Transactions.TransactionStatePromotedNonMSDTCSinglePhaseCommit.EnlistVolatile(), System.Transactions.TransactionStatePromotedNonMSDTCVolatilePhase1.EnlistVolatile(), and System.Transactions.TransactionScope.TimerCallback().