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); } }
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; }