private void TryStartMsdtcService()
 {
     try
     {
         TransactionInterop.GetWhereabouts();
     }
     catch (TransactionException exception)
     {
         DiagnosticUtility.ExceptionUtility.TraceHandledException(exception, TraceEventType.Warning);
     }
 }
Example #2
0
        //
        // Internals
        //

        WhereaboutsReader GetWhereabouts()
        {
            try
            {
                return(new WhereaboutsReader(TransactionInterop.GetWhereabouts()));
            }
            catch (SerializationException e)
            {
                throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
                          new TransactionManagerConfigurationException(SR.GetString(SR.WhereaboutsReadFailed), e));
            }
            // If GetWhereabouts throws TransactionException, let it propagate
        }
Example #3
0
        private WhereaboutsReader GetWhereabouts()
        {
            WhereaboutsReader reader;

            try
            {
                reader = new WhereaboutsReader(TransactionInterop.GetWhereabouts());
            }
            catch (SerializationException exception)
            {
                throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new TransactionManagerConfigurationException(System.ServiceModel.SR.GetString("WhereaboutsReadFailed"), exception));
            }
            return(reader);
        }