StackTrace Constructor (StackFrame)

StackTrace Constructor (StackFrame)

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

Initializes a new instance of the StackTrace class that contains a single frame.

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

public StackTrace(
	StackFrame frame
)

Parameters

frame
Type: System.Diagnostics.StackFrame
The frame that the StackTrace object should contain.

Use this constructor when you do not want the overhead of a full stack trace.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft