예제 #1
0
 /// <summary>
 /// Starts the processing
 /// </summary>
 /// <param name="args">Parameters</param>
 protected override void OnStart(string[] args)
 {
     try
     {
         //Start the Processing
         m_ProcessingManager.Start();
     }
     catch (Exception ex)
     {
         ErrorHandler.LogError(ex);
     }
 }
예제 #2
0
        /// <summary>
        /// Starts the processing
        /// </summary>
        /// <param name="args">Parameters</param>
        protected override void OnStart(string[] args)
        {
            try
            {
                ErrorHandler.LogEntry("Starting Processing", EventLogEntryType.Information);

                //Start the Processing
                m_ProcessingManager.Start();
            }
            catch (Exception ex)
            {
                ErrorHandler.LogError(ex);
            }
        }