Exemplo n.º 1
0
        public static byte[] GetWhereabouts()
        {
            TransactionsEtwProvider etwLog = TransactionsEtwProvider.Log;

            if (etwLog.IsEnabled())
            {
                etwLog.MethodEnter(TraceSourceType.TraceSourceDistributed, "TransactionInterop.GetWhereabouts");
            }

            byte[] returnValue = DistributedTransactionManager.GetWhereabouts();

            if (etwLog.IsEnabled())
            {
                etwLog.MethodExit(TraceSourceType.TraceSourceDistributed, "TransactionInterop.GetWhereabouts");
            }
            return(returnValue);
        }
Exemplo n.º 2
0
        public static byte[] GetWhereabouts()
        {
            if (DiagnosticTrace.Verbose)
            {
                MethodEnteredTraceRecord.Trace(SR.TraceSourceDistributed, "TransactionInterop.GetWhereabouts");
            }

            DistributedTransactionManager dTm = TransactionManager.DistributedTransactionManager;

            byte[] returnValue = dTm.GetWhereabouts();

            if (DiagnosticTrace.Verbose)
            {
                MethodExitedTraceRecord.Trace(SR.TraceSourceDistributed, "TransactionInterop.GetWhereabouts");
            }
            return(returnValue);
        }