E
emdeusenet
Not sure if I have the correct group, but here goes.
I am trying to write a Windows service in c# and am having trouble
catching exceptions. I purposley tried to write to a bad file name
hoping that the exception would be caught and I could log to the event
log or external log file. For some reason when I use a try/catch block
nothing is "caught". I assume there is something else that is catching
exceptions and not passing to my catch block.
Any ideas?
Thanks.
I am trying to write a Windows service in c# and am having trouble
catching exceptions. I purposley tried to write to a bad file name
hoping that the exception would be caught and I could log to the event
log or external log file. For some reason when I use a try/catch block
nothing is "caught". I assume there is something else that is catching
exceptions and not passing to my catch block.
Any ideas?
Thanks.