StackTrace
Hello,
I have a sequond question concerning the StackTrace. With the following methods the class-name and the method-name of the current used class and method will be written in a XML-File.
Writer.WriteString(new StackTrace().GetFrame(2).GetMethod().ReflectedType.FullName);
Writer.WriteString(new StackTrace().GetFrame(2).GetMethod().ToString());
Unfortunately the StackTrace-class is only supported by the .NET Framework and i need it for a PDA and the StackTrace-class is not supported by the .NET Compact Framework. Do you know any possibility and/or work around to get these information (class-, method-name) which is supported by the .NET Compact Framework?
Thanks in Advance.
Yours sincerely,
patrick
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

pat2715 reputationPosted Aug 8, 2004, 1:05 PM EDT
mahe.laurent2 reputationPosted Dec 22, 2004, 4:35 AM EST