GetFrame Method
Collapse the table of content
Expand the table of content

StackTrace.GetFrame Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the specified stack frame.

Namespace:  System.Diagnostics
Assembly:  mscorlib (in mscorlib.dll)

public virtual StackFrame GetFrame(
	int index
)

Parameters

index
Type: System.Int32
The index of the stack frame requested.

Return Value

Type: System.Diagnostics.StackFrame
The specified stack frame.

Stack frames are numbered starting at 0, which is the last stack frame pushed.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft