Window Service on Shutdown
- From: "tascien" <tascienu@xxxxxxxxxxxx>
- Date: 18 Oct 2005 22:52:16 -0700
I created a window service...
When i stop the service through MMC, it can see in the EventLog that it
calls OnStop() within the service... and all stop handling routines are
processed gracefully...
but when i do, Start, ShutDown to restart the computer, the EventLog
does not show anything...
Can i trust that the OnStop was called anyway? If not, how to make sure
windows calls my OnStop before shutting down?
Thanks.
.
- Follow-Ups:
- Re: Window Service on Shutdown
- From: Mehdi
- Re: Window Service on Shutdown
- Prev by Date: Re: Permission Errors
- Next by Date: Web Site Administration Tool
- Previous by thread: Customize Exception Handling Application Block
- Next by thread: Re: Window Service on Shutdown
- Index(es):
Relevant Pages
|