G
Guest
Hi, I want to write down a function entry point logging method, allowing
logging of passed in parameters values along with function name and parameter
names. I know I can get the parameter name and function name using
System.Reflection or StackFrame but not sure if if it's possible to retreive
runtime passed in actual parameter values in .net 1.1 ?
e.g.
class User
{
public string GetName(int userId)
{
//Logging function, which logs function name and parameters values e.g. in
this case GetName and whatever calling code has passed in for userId
rest of function code
}
logging of passed in parameters values along with function name and parameter
names. I know I can get the parameter name and function name using
System.Reflection or StackFrame but not sure if if it's possible to retreive
runtime passed in actual parameter values in .net 1.1 ?
e.g.
class User
{
public string GetName(int userId)
{
//Logging function, which logs function name and parameters values e.g. in
this case GetName and whatever calling code has passed in for userId
rest of function code
}