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

◆ EnlistmentStatus() [2/2]

void System.Transactions.TransactionsEtwProvider.EnlistmentStatus ( InternalEnlistment enlistment,
NotificationCall notificationCall )
inlinepackage

Definition at line 294 of file TransactionsEtwProvider.cs.

295 {
296 if (IsEnabled(EventLevel.Verbose, EventKeywords.All))
297 {
298 if (enlistment != null && enlistment.EnlistmentTraceId.EnlistmentIdentifier != 0)
299 {
300 EnlistmentStatus(enlistment.EnlistmentTraceId.EnlistmentIdentifier, notificationCall.ToString());
301 }
302 else
303 {
304 EnlistmentStatus(0, notificationCall.ToString());
305 }
306 }
307 }
void EnlistmentStatus(InternalEnlistment enlistment, NotificationCall notificationCall)

References System.Transactions.EnlistmentTraceIdentifier.EnlistmentIdentifier, System.Transactions.TransactionsEtwProvider.EnlistmentStatus(), System.Transactions.InternalEnlistment.EnlistmentTraceId, and System.Diagnostics.Tracing.EventSource.IsEnabled().

Referenced by System.Transactions.TransactionsEtwProvider.EnlistmentStatus(), System.Transactions.DurableEnlistmentAborting.EnterState(), System.Transactions.DurableEnlistmentCommitting.EnterState(), System.Transactions.VolatileEnlistmentAborting.EnterState(), System.Transactions.VolatileEnlistmentCommitting.EnterState(), System.Transactions.VolatileEnlistmentInDoubt.EnterState(), System.Transactions.VolatileEnlistmentPreparing.EnterState(), System.Transactions.VolatileEnlistmentSPC.EnterState(), System.Transactions.TransactionStateDelegatedAborting.EnterState(), System.Transactions.TransactionStateDelegatedBase.EnterState(), System.Transactions.TransactionStateDelegatedCommitting.EnterState(), System.Transactions.TransactionStateDelegatedNonMSDTC.EnterState(), and System.Transactions.TransactionStatePromotedNonMSDTCSinglePhaseCommit.EnterState().