Unfortunately, the answer is: write a debugger. Method parameters are
not available at runtime from within the program.

> -----Original Message-----
> From: Moderated discussion of advanced .NET topics. [mailto:ADVANCED-
> [EMAIL PROTECTED]] On Behalf Of Keyen
> Sent: Sunday, August 25, 2002 12:05 AM
> To: [EMAIL PROTECTED]
> Subject: [ADVANCED-DOTNET] generic error handler / parameters passed
>
> Hi,
>
> i'm trying write a generic error handler, something that will log the
> exception as well as the method called and the parameters passed to
this
> method.
>
> How can i programmatically know which parameters have been passed to
the
> method? i can see the details i need in the callStack window in the
IDE.
>
> Thanks in advanced
>
> You can read messages from the Advanced DOTNET archive, unsubscribe
from
> Advanced DOTNET, or
> subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to