小编And*_*ish的帖子

StackOverflowException in a .Net Windows Service

In some circumstances my .Net windows service can generate a StackOverflowException. Unfortunately, the behaviour seems to be that the service simply stops dead and doesn't write anything into the event log. I don't even get a message from the service control manager saying the service has failed.

is there any way at all a windows service can detect that such an exception has occurred?

In the documentation for this exception, MSDN says "Note that an application that hosts the common …

.net stack-overflow windows-services

1
推荐指数
1
解决办法
546
查看次数

标签 统计

.net ×1

stack-overflow ×1

windows-services ×1