Пример #1
0
        public override void Run()
        {
            LogManager.Log.Trace("*********************************************************************************************");
            LogManager.Log.Trace("******************************* TellHer Service Role Started ******************************* ");
            LogManager.Log.Trace("*********************************************************************************************");

            while (true)
            {
                try
                {
                    ProcessingLoop loop = new ProcessingLoop();
                    loop.Run();
                }
                catch (Exception ex)
                {
                    LogManager.Log.Error("Unhandled Exception in Processing Loop", ex);
                }
            }
        }
Пример #2
0
        public override void Run()
        {
            LogManager.Log.Trace("*********************************************************************************************");
            LogManager.Log.Trace("******************************* TellHer Service Role Started ******************************* ");
            LogManager.Log.Trace("*********************************************************************************************");

            while (true)
            {
                try
                {
                    ProcessingLoop loop = new ProcessingLoop();
                    loop.Run();
                }
                catch (Exception ex)
                {
                    LogManager.Log.Error("Unhandled Exception in Processing Loop", ex);
                }
            }
        }