StackTrace Constructor

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

Initializes a new instance of the StackTrace class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 StackTrace() Initializes a new instance of the StackTrace class from the caller's frame.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 StackTrace(Boolean) Security Critical. Initializes a new instance of the StackTrace class from the caller's frame, and optionally captures source information.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 StackTrace(Exception) Initializes a new instance of the StackTrace class by using the specified exception object.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 StackTrace(Int32) Security Critical. Initializes a new instance of the StackTrace class from the caller's frame, skipping the specified number of frames.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 StackTrace(StackFrame) Initializes a new instance of the StackTrace class that contains a single frame.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 StackTrace(Exception, Boolean) Security Critical. Initializes a new instance of the StackTrace class by using the specified exception object, and optionally captures source information.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 StackTrace(Exception, Int32) Security Critical. Initializes a new instance of the StackTrace class by using the specified exception object and skipping the specified number of frames.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 StackTrace(Int32, Boolean) Security Critical. Initializes a new instance of the StackTrace class from the caller's frame, skipping the specified number of frames and optionally capturing source information.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 StackTrace(Thread, Boolean) Security Critical. Initializes a new instance of the StackTrace class for a specific thread, and optionally captures source information.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 StackTrace(Exception, Int32, Boolean) Security Critical. Initializes a new instance of the StackTrace class by using the specified exception object and skipping the specified number of frames, and optionally captures source information.

Top