/// <summary> /// Azure calls this method to do the main work. /// If this method returns, Azure will recycle this role instance. /// </summary> public override void Run() { Trace.TraceInformation("CloudExecutionWorker entry point called"); this.engine = new CloudExecutionEngine(); // TODO: Multi-thread this. this.engine.Run(); }
/// <summary> /// Run executable requests posted to the requests queue. /// </summary> /// <param name="args">The parameter is unused.</param> public static void Main(string[] args) { CloudExecutionEngine engine = new CloudExecutionEngine(); engine.Run(); }