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
 
Back
Top