StackTrace Constructor
[ 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.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the 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) | Obsolete. 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. |
Show: