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

◆ TransactionstateEnlist() [1/2]

void System.Transactions.TransactionsEtwProvider.TransactionstateEnlist ( EnlistmentTraceIdentifier enlistmentID,
EnlistmentType enlistmentType,
EnlistmentOptions enlistmentOption )
inlinepackage

Definition at line 803 of file TransactionsEtwProvider.cs.

804 {
805 if (IsEnabled(EventLevel.Informational, EventKeywords.All))
806 {
807 if (enlistmentID.EnlistmentIdentifier != 0)
808 {
809 TransactionstateEnlist(enlistmentID.EnlistmentIdentifier.ToString(), enlistmentType.ToString(), enlistmentOption.ToString());
810 }
811 else
812 {
813 TransactionstateEnlist(string.Empty, enlistmentType.ToString(), enlistmentOption.ToString());
814 }
815 }
816 }
void TransactionstateEnlist(EnlistmentTraceIdentifier enlistmentID, EnlistmentType enlistmentType, EnlistmentOptions enlistmentOption)

References System.Transactions.EnlistmentTraceIdentifier.EnlistmentIdentifier, System.Diagnostics.Tracing.EventSource.IsEnabled(), System.Empty.ToString(), and System.Transactions.TransactionsEtwProvider.TransactionstateEnlist().

Referenced by System.Transactions.EnlistableStates.EnlistDurable(), System.Transactions.TransactionStateActive.EnlistPromotableSinglePhase(), System.Transactions.TransactionStatePhase0.EnlistPromotableSinglePhase(), System.Transactions.TransactionStateActive.EnlistVolatile(), System.Transactions.TransactionStatePhase0.EnlistVolatile(), System.Transactions.TransactionStatePromotedNonMSDTCBase.EnlistVolatile(), System.Transactions.TransactionStateActive.EnlistVolatile(), System.Transactions.TransactionStatePhase0.EnlistVolatile(), System.Transactions.TransactionStatePromotedNonMSDTCBase.EnlistVolatile(), and System.Transactions.TransactionsEtwProvider.TransactionstateEnlist().