Cgw.Common.ServiceRun.InitializeComponent C# (CSharp) 메소드

InitializeComponent() 개인적인 메소드

服务运行的初始化
private InitializeComponent ( string serviceName ) : void
serviceName string 服务的名字
리턴 void
        private void InitializeComponent(string serviceName)
        {
            // Initialize the operating properties for the service.
            this.CanPauseAndContinue = false;
            this.CanShutdown = true;
            this.CanHandleSessionChangeEvent = true;
            this.ServiceName = serviceName;
        }