J
John
Hi,
Does anyone know how to get parameter values from an
exception using reflection?
i.e
public void GoGadget(string a, string b)
{
return (2/0);
}
try
{
GoGadget(1,4)
}
catch(Exception ex)
{
MessageBox(getExceptionParam(ex));
}
The above example would return me a=1, b=4
John
Does anyone know how to get parameter values from an
exception using reflection?
i.e
public void GoGadget(string a, string b)
{
return (2/0);
}
try
{
GoGadget(1,4)
}
catch(Exception ex)
{
MessageBox(getExceptionParam(ex));
}
The above example would return me a=1, b=4
John