随笔 - 233  文章 - 0  评论 - 246  阅读 - 84万

随笔分类 -  Windows Service

创建,安装,调试 Windows Service
摘要:把步骤写下来备忘。目的: 要从windows service里定时调用wcf服务, 做一些事情。1.新创建一个windows service项目, 然后添加一个LzdCallWcfService.cs的windows service类.2.添加StartHour,EndHour和Interval三个参数,这样可以通过OnStart(string[] args)方法,在windows service初始启动时传进来间隔时间等参数。public int StartHour = 1;public int EndHour = 23;public int Interval = 1800000; //默认 阅读全文
posted @ 2011-12-09 16:17 BobLiu 阅读(2124) 评论(2) 推荐(0) 编辑
转: 如何删除windows service (How to delete a windows service)
摘要:How to delete a windows service Recently, I was trying to delete a windows service. Normally it should not be necessary to manually delete a service. Uninstalling an application should remove its associated service (if any).However, I installed some beta products and a service created by one of the 阅读全文
posted @ 2011-05-12 17:46 BobLiu 阅读(2278) 评论(0) 推荐(0) 编辑


点击右上角即可分享
微信分享提示