|
-
May 1st, 2000, 11:27 AM
#1
HELP! -- How to find the CURRENT methord name at run time?
Hi,
I am trying to create an common error handler that any code from my project can call to generate messages. I want it to be able to tell the current object's class name and the name of the method where the error occured. Since this handler is shared by all the code, so these names can only be resolved at run time. Could anybody help me on how to do that? I sort of think reflection may potentially be the resolution, but I am not sure.
Please help.
Thank you very much.
Lifeng
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|