StackTrace Constructor
Initializes a new instance of the StackTrace class.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | StackTrace() | Initializes a new instance of the StackTrace class from the caller's frame. |
![]() | StackTrace(Boolean) | Initializes a new instance of the StackTrace class from the caller's frame, optionally capturing source information. |
![]() | StackTrace(Exception^) | Initializes a new instance of the StackTrace class using the provided exception object. |
![]() | StackTrace(Exception^, Boolean) | Initializes a new instance of the StackTrace class, using the provided exception object and optionally capturing source information. |
![]() | StackTrace(Exception^, Int32) | Initializes a new instance of the StackTrace class using the provided exception object and skipping the specified number of frames. |
![]() | StackTrace(Exception^, Int32, Boolean) | Initializes a new instance of the StackTrace class using the provided exception object, skipping the specified number of frames and optionally capturing source information. |
![]() | StackTrace(Int32) | Initializes a new instance of the StackTrace class from the caller's frame, skipping the specified number of frames. |
![]() | StackTrace(Int32, Boolean) | 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(StackFrame^) | Initializes a new instance of the StackTrace class that contains a single frame. |
![]() | StackTrace(Thread^, Boolean) | Obsolete. Initializes a new instance of the StackTrace class for a specific thread, optionally capturing source information. Do not use this constructor overload. |
