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 | |
---|---|---|
StackTrace() | Initializes a new instance of the StackTrace class from the caller's frame. | |
StackTrace(Boolean) | Security Critical. Initializes a new instance of the StackTrace class from the caller's frame, and optionally captures source information. | |
StackTrace(Exception) | Initializes a new instance of the StackTrace class by using the specified exception object. | |
StackTrace(Int32) | Security Critical. Initializes a new instance of the StackTrace class from the caller's frame, skipping the specified number of frames. | |
StackTrace(StackFrame) | Initializes a new instance of the StackTrace class that contains a single frame. | |
StackTrace(Exception, Boolean) | Security Critical. Initializes a new instance of the StackTrace class by using the specified exception object, and optionally captures source information. | |
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. | |
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. | |
StackTrace(Thread, Boolean) | Security Critical. Initializes a new instance of the StackTrace class for a specific thread, and optionally captures source information. | |
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