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

◆ TransactionExceptionTrace() [1/2]

void System.Transactions.TransactionsEtwProvider.TransactionExceptionTrace ( TraceSourceType traceSource,
TransactionExceptionType type,
string message,
string innerExceptionStr )
inlinepackage

Definition at line 170 of file TransactionsEtwProvider.cs.

171 {
172 if (IsEnabled(EventLevel.Error, EventKeywords.All))
173 {
174 if (traceSource == TraceSourceType.TraceSourceBase)
175 {
176 TransactionExceptionBase(type.ToString(), message, innerExceptionStr);
177 }
178 else
179 {
180 TransactionExceptionLtm(type.ToString(), message, innerExceptionStr);
181 }
182 }
183 }
void TransactionExceptionBase(string type, string message, string innerExceptionStr)
void TransactionExceptionLtm(string type, string message, string innerExceptionStr)

References System.Diagnostics.Tracing.EventSource.IsEnabled(), System.Transactions.TransactionsEtwProvider.TransactionExceptionBase(), System.Transactions.TransactionsEtwProvider.TransactionExceptionLtm(), and System.type.

Referenced by System.Transactions.TransactionState.ChangeStateAbortedDuringPromotion(), System.Transactions.TransactionState.ChangeStatePromotedAborted(), System.Transactions.TransactionState.ChangeStatePromotedCommitted(), System.Transactions.TransactionState.ChangeStateTransactionAborted(), System.Transactions.TransactionState.ChangeStateTransactionCommitted(), System.Transactions.TransactionState.InDoubtFromEnlistment(), System.Transactions.TransactionManager.Reenlist(), and System.Transactions.TransactionState.RestartCommitIfNeeded().