StackTrace Constructor (Exception^)
.NET Framework (current version)
Initializes a new instance of the StackTrace class using the provided exception object.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- e
-
Type:
System::Exception^
The exception object from which to construct the stack trace.
| Exception | Condition |
|---|---|
| ArgumentNullException | The parameter e is null. |
The StackTrace is created with the caller's current thread, and does not contain file name, line number, or column information.
The resulting stack trace describes the stack at the time of the exception.
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: