Re: How to use Stackframe and stacktrace in Windows Service
From: Avinash (Avinash_at_discussions.microsoft.com)
Date: 03/07/05
- Next message: Sean Hederman: "Re: Specialization with generics"
- Previous message: Joey Lee: "Re: [Proposal] Short namespace syntax"
- In reply to: Dmitriy Lapshin [C# / .NET MVP]: "Re: How to use Stackframe and stacktrace in Windows Service"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 6 Mar 2005 20:31:02 -0800
Hi
Thanks for your reply.
Actually when I am use the Stacktrace and stckframe to get the file name and
line number in the catch block of the any method of the Window service. The
service is getting installed but don't getting start. But if I remove the
stackfame and stacktrace from the catch block and use the service the service
wok normally.
So I just want to handle the exception of the windows service using those
object for getting currentfile name and line number.
Thanks and regards,
Avinash.
- Next message: Sean Hederman: "Re: Specialization with generics"
- Previous message: Joey Lee: "Re: [Proposal] Short namespace syntax"
- In reply to: Dmitriy Lapshin [C# / .NET MVP]: "Re: How to use Stackframe and stacktrace in Windows Service"
- Messages sorted by: [ date ] [ thread ]