Open sandboxFocus

Method GetDynamic

GetDynamic(int)

Gets a CallerInfo of the caller by performing a stack walk (using StackFrame).

Declaration
public static CallerInfo GetDynamic(int skipFrames)
Parameters
Type Name Description
int skipFrames

The number of stack frames to skip.

Returns
Type Description
CallerInfo

A CallerInfo for the caller (skipping the specified number of stack frames), or default if the platform does not support the StackFrame class.