![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Is there any way(as there is in VC++) to retrieve the name of the method that execution is currently in? I want to write a generic user notification that will display, among other things, the name of the method in which an error or exception occured. |
#3
| |||
| |||
|
|
MethodBase.GetCurrentMethod().ToString(). -- Phil Wilson [MVP Windows Installer] ---- "jnick" <jnick (AT) discussions (DOT) microsoft.com> wrote in message news:80E72897-AADA-4C8A-A43D-EED0FA441171 (AT) microsoft (DOT) com... Is there any way(as there is in VC++) to retrieve the name of the method that execution is currently in? I want to write a generic user notification that will display, among other things, the name of the method in which an error or exception occured. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |