K
Keith
I'm in the same boat as the fellow who posted this message back in
August:
Title : Windows Service, How does one make a service "fail" properly?
Author : Ross Bennett
Group : microsoft.public.dotnet.languages.csharp
URL : http://groups.google.com/groups?q=r...=#[email protected]&rnum=1
I need to find a way to cause the service to stop when it encounters a
fatal error during processing. Using the ServiceController framework
class is not an option, as doing so makes the stop appear to be
"normal" when in fact it is not.
Any ideas? Any pointers to documentation or examples?
I've been beating my head against the monitor looking for a solution
to this and have found nothing. Hard to believe that there are only
two of us out here who need to make a Windows Service behave this way.
Thanks
SFN
August:
Title : Windows Service, How does one make a service "fail" properly?
Author : Ross Bennett
Group : microsoft.public.dotnet.languages.csharp
URL : http://groups.google.com/groups?q=r...=#[email protected]&rnum=1
I need to find a way to cause the service to stop when it encounters a
fatal error during processing. Using the ServiceController framework
class is not an option, as doing so makes the stop appear to be
"normal" when in fact it is not.
Any ideas? Any pointers to documentation or examples?
I've been beating my head against the monitor looking for a solution
to this and have found nothing. Hard to believe that there are only
two of us out here who need to make a Windows Service behave this way.
Thanks
SFN