D
David Hunt
I'm developing a Windows Service and just added a standard try... catch
exception handler to its OnStart() routine. I would like to know how to
force the service to abort its startup when an exception is encountered. In
my current version, the exception handler logs the exception, but then the
service continues to run. I'd like it to NOT run after logging the
exception.
Thanks!
exception handler to its OnStart() routine. I would like to know how to
force the service to abort its startup when an exception is encountered. In
my current version, the exception handler logs the exception, but then the
service continues to run. I'd like it to NOT run after logging the
exception.
Thanks!