我的窗口服务自动停止 [英] my window service automatically stop

查看:76
本文介绍了我的窗口服务自动停止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





嗨朋友们,



我的窗口服务在客户所在地自动停止,如何解决这个问题



(我已经在属性窗口中设置了重启选项)



hi friends,

my window service automatically stopped in customer place,how to solve this problem

(i already set restart option in properties window)

推荐答案

如果没有更多信息,很难说,尝试在服务中添加日志以帮助跟踪问题,这里有一个简单的记录器:用于log4net的迷你直接替换 [ ^ ]
It's very hard to say without more information, try adding logging to your service to help track the problem, a simple logger is here : Mini Drop-in Replacement for log4net[^]


这篇关于我的窗口服务自动停止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆