Ejemplo n.º 1
0
        public override bool OnStart()
        {
            TriggerAutomationQueueMessages objTriggerAutomationQueueMessages = new TriggerAutomationQueueMessages();

            objTriggerAutomationQueueMessages.StartAutomationService();

            return(base.OnStart());
        }
Ejemplo n.º 2
0
        public override bool OnStart()
        {
            try
            {
                //this.RunAsync(this.cancellationTokenSource.Token).Wait();
                TriggerAutomationQueueMessages objTriggerAutomationQueueMessages = new TriggerAutomationQueueMessages();
                objTriggerAutomationQueueMessages.StartAutomationService();
            }
            catch (Exception)
            {
                throw;
            }
            finally
            {
                //this.runCompleteEvent.Set();
            }

            return(base.OnStart());
        }