Determine current sub

  • Thread starter Thread starter Chuck
  • Start date Start date
C

Chuck

Is there a way to progamitically determine what the name
of the subroutine or function my code is currently
executing. I would like to know this for my error
handling routine.

thanks, Chuck
 
Thanks,
How about in the compact framework?
GetCurrentMethod isn't supported.
 
As far as I know there's no way to get the method name in .NETCF
 
Hi Chuck,

Thanks for your post. If I understand your problem correctly, you want to
determine the name of current method in .NET Compact Framework. This is
beyond the scope of this group and would be best handle by the .NET Compact
Framework group. For a quicker response you may want to try reposting the
question in the following
microsoft.public.dotnet.framework.compactframework, also for future
reference you may want to try posting questions of this nature to the
microsoft.public.dotnet.framework.compactframework to avoid any delays in
getting a response. Unfortunately the
microsoft.public.dotnet.framework.compactframework is not part of the
managed newsgroup list that we guarantee a 2 business day response, so the
response from the community could take a little bit longer. For a list MSDN
Managed newsgroups please visit the following link;

http://msdn.microsoft.com/newsgroups/managed/

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top