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

◆ GetWhereabouts()

static byte[] System.Transactions.TransactionInterop.GetWhereabouts ( )
inlinestatic

Definition at line 187 of file TransactionInterop.cs.

188 {
189 TransactionsEtwProvider log = TransactionsEtwProvider.Log;
190 if (log.IsEnabled())
191 {
192 log.MethodEnter(TraceSourceType.TraceSourceDistributed, "TransactionInterop.GetWhereabouts");
193 }
194 DistributedTransactionManager distributedTransactionManager = TransactionManager.DistributedTransactionManager;
195 byte[] whereabouts = distributedTransactionManager.GetWhereabouts();
196 if (log.IsEnabled())
197 {
198 log.MethodExit(TraceSourceType.TraceSourceDistributed, "TransactionInterop.GetWhereabouts");
199 }
200 return whereabouts;
201 }

References System.Transactions.TransactionManager.DistributedTransactionManager, System.Transactions.Distributed.DistributedTransactionManager.GetWhereabouts(), System.Diagnostics.Tracing.EventSource.IsEnabled(), System.Transactions.TransactionsEtwProvider.Log, System.Transactions.TransactionsEtwProvider.MethodEnter(), and System.Transactions.TransactionsEtwProvider.MethodExit().