Z
zh.zhen
i use try..catch in my windows service,and when some exception occurs,
i write it to event logs.
in webapplication ,if you use a catch to "hold" an exception, and do
not throw up, the exception will be ignore if it is available.
my windows service is a mul-thread service, which workes for a growing
work-list. but some workitems of this list will make erros when
services is running for it.
the question is:
when exception occurs, the service is terminated. how can i let the
service continue running without any termination?
i write it to event logs.
in webapplication ,if you use a catch to "hold" an exception, and do
not throw up, the exception will be ignore if it is available.
my windows service is a mul-thread service, which workes for a growing
work-list. but some workitems of this list will make erros when
services is running for it.
the question is:
when exception occurs, the service is terminated. how can i let the
service continue running without any termination?