Get the Project and Class Name in Runtime

by Alfredo Barrientos on 11/1/2007 2:10:00 PM 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

 

Re: Get the Project and Class Name in Runtime

by Andrew Faust on 11/1/2007 5:53:00 PM You should already have that information as part of the stack trace on the
exception.

--
Andrew Faust
andrew[at]andrewfaust.com
http://www.andrewfaust.com


"Alfredo Barrientos" <abarrientos@gmail.com> wrote in message
news:1193976584.585346.30090@y42g2000hsy.googlegroups.com...
> 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
>