public override void Run()
        {
            Trace.TraceInformation("Worker Role Accelerator entry point was called");

            var loader = new WorkerRoleLoader();

            while (true)
            {
                Trace.TraceInformation("Worker Role Accelerator is Working");

                loader.Poll();

                Thread.Sleep(30000);
            }
        }
예제 #2
0
        public override void Run()
        {
            Trace.TraceInformation("Worker Role Accelerator entry point was called");

            var loader = new WorkerRoleLoader();

            while (!IsStopping)
            {
                Trace.TraceInformation("Worker Role Accelerator is Working");

                loader.Poll();

                Thread.Sleep(30000);
            }
            loader.UnloadAppdomain();
            GracefullyExited = true;
        }