Exception Line Number

  • Thread starter Thread starter Shawn B.
  • Start date Start date
S

Shawn B.

Greetings,

How do I get the line number that an exception ocurred in so I can format it
or log it in my own way. The only way I know of at the moment is to call
[ExceptionObject].ToStriong() and then RegEx it but there must be a more
direct way.


Thanks,
Shawn
 

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