public static void Start() { TestService.Start(); WCFHost host = new WCFHost(); host.open(); }
protected override void OnStart(string[] args) { TestService.Start(); WCFHost host = new WCFHost(); host.open(); Log4netHelper.Debug("OnStart", "服务开始"); }