LanceWLarsen
asked on
.NET Compact Framework -- how to get method name?
Situation: When catching errors in a C# .NET Compact Framework, I log the name of the method and what error occured into a SQLCE table for review. As of now I have to manually enter the name of the method into a string to be saved into the table for later analysis.
So the question is: Using C# and the .NET Compact Framework -- how does one programatically retrieve the current method name? I know this is possible in regular windows form development within .NET -- but is it even possible in the Compact Framework?
So the question is: Using C# and the .NET Compact Framework -- how does one programatically retrieve the current method name? I know this is possible in regular windows form development within .NET -- but is it even possible in the Compact Framework?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Well -- was hoping the someone from MS or elsewhere would intercede and let us know a back way into the StackTrace -- but alas it is not to be. Thanks tons for the knowledge that it isn't possible in the current framework -- keeps me from searching endlessly...
Regards...
...Lance W. Larsen
www.lancelarsen.com
Regards...
...Lance W. Larsen
www.lancelarsen.com
I just searched their website and found nothing for StackTrace
http://www.opennetcf.org/forums/topic.asp?TOPIC_ID=2648&SearchTerms=StackTrace