currentMethodDesc

Type: MethodCallDesc

The read-only currentMethodDesc property of the Exception class contains a reference to the current MethodCallDesc object. Every time a method calls another method, a MethodCallDesc object is created in a stack. Each new MethodCallDesc object has a reference to the previous MethodCallDesc object in the stack.

Use the currentStack method of the Process class to obtain the call stack for the current process.