2bc27825创建于 2017年10月1日历史提交
using System.ServiceProcess;

namespace BatchCoreService
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        static void Main()
        {
            ServiceBase[] ServicesToRun;
            ServicesToRun = new ServiceBase[] 
			{ 
				new BatchCoreService() 
			};
            ServiceBase.Run(ServicesToRun);
        }
    }
}