G
Guest
For a C# windows service, it seems like the best practice is to only
implement OnStop().
Is that correct? Do I only need OnShutdown if I need to take different
actions when the server is shutdown?
When the server is shutdown and it first tries to stop all the processes,
does this cause OnStop to be invoked assuming the shutdown executes all it's
steps successfully?
implement OnStop().
Is that correct? Do I only need OnShutdown if I need to take different
actions when the server is shutdown?
When the server is shutdown and it first tries to stop all the processes,
does this cause OnStop to be invoked assuming the shutdown executes all it's
steps successfully?