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