Export (0) Print
Expand All

StackTrace Constructor (StackFrame)

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


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.


Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

© 2014 Microsoft