HighTechTalks DotNet Forums  

Get the Project and Class Name in Runtime

Dotnet Framework microsoft.public.dotnet.framework


Discuss Get the Project and Class Name in Runtime in the Dotnet Framework forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Alfredo Barrientos
 
Posts: n/a

Default Get the Project and Class Name in Runtime - 11-02-2007 , 12:09 AM






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


Reply With Quote
  #2  
Old   
Andrew Faust
 
Posts: n/a

Default Re: Get the Project and Class Name in Runtime - 11-02-2007 , 01:53 AM






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 (AT) gmail (DOT) com> wrote

Quote:
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



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.