Пример #1
0
        private static bool HandleAtThreadBase(Exception exception)
        {
            bool flag;
            bool flag1;

            if (exception != null)
            {
                Fx.TraceExceptionNoThrow(exception);
                try
                {
                    Fx.ExceptionHandler asynchronousThreadExceptionHandler = Fx.AsynchronousThreadExceptionHandler;
                    if (asynchronousThreadExceptionHandler == null)
                    {
                        flag1 = false;
                    }
                    else
                    {
                        flag1 = asynchronousThreadExceptionHandler.HandleException(exception);
                    }
                    flag = flag1;
                }
                catch (Exception exception2)
                {
                    Exception exception1 = exception2;
                    Fx.TraceExceptionNoThrow(exception1);
                    return(false);
                }
                return(flag);
            }
            else
            {
                return(false);
            }
        }