Used to resolve information from an Exception.
Methods
public int GetFileLineNumber(StackFrame frame)
Gets the line number of a StackFrame.
Parameters:
frame (StackFrame)The
StackFrame to get the line number for.Returns:
The line number.
public string GetFileName(StackFrame frame)
Gets the file name of a StackFrame.
Parameters:
frame (StackFrame)The
StackFrame to get the file name for.Returns:
The file name.
public string GetMethodName(MethodBase method)
Gets the name of a method.
Parameters:
method (MethodBase)The
MethodBase instance to get the name for.Returns:
The method's name.
public string GetParameterName(ParameterInfo parameter)
Gets the name of a parameter.
Parameters:
parameter (ParameterInfo)The
ParameterInfo instance to get the name for.Returns:
The parameter's name.