Get the Project and Class Name in Runtime

  • Thread starter Thread starter Alfredo Barrientos
  • Start date Start date
A

Alfredo Barrientos

Hi,

How can i get the Project and the Class Name of my .net project in
runtime, i mean, i want to generate a new exception, and i want to
know, the project, the class, the method or function, where the error
ocurrs.

Thank you,

Alfredo Barrientos
 
You should already have that information as part of the stack trace on the
exception.
 

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