Paragraph Name

  • Thread starter Thread starter Jim Heavey
  • Start date Start date
J

Jim Heavey

Hello, I was wondering if there is some way I can obtain the name of the
subroutine that a line of code is executing in via the code.

Sy for example you wanted to write a message like the following:

Trace.Write("ProcessStart", "Starting in Subroutine 'MySubroutine'"

Is there a way for me to programmatically get the name of the subroutine in
which this line of code is executing such that I do not have to hard code
the information everytime?

Thanks in advance for your assistance!!!!!!
 

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