Window Service on Shutdown

Tech-Archive recommends: Fix windows errors by optimizing your registry



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.

.



Relevant Pages

  • Re: Window Service on Shutdown
    ... > When i stop the service through MMC, it can see in the EventLog that it ... > Can i trust that the OnStop was called anyway? ... That's what should be called when Windows ...
    (microsoft.public.dotnet.general)
  • Re: Cant access W2000 Server using Terminal Services
    ... Does the window that comes up only contain the buttons "Close" and ... >>Anything in the EventLog on the TS? ... do you have a TS Licensing Server ... >>Which OS are your clients running? ...
    (microsoft.public.windows.terminal_services)
  • Perfmon: RPC averaged latency
    ... Immer wieder kommt es sporadisch vor, daß bei Outlook-Clients das Window " ... es werden Daten vom Exchangeserver abgerufen" erscheint. ... Eventlog zeigt keine relevanetn Fehler ...
    (microsoft.public.de.german.exchange2000.general)