Gets a string representation of the frames on the call stack at the time the current Exception was thrown.
A string that describes the contents of the call stack.
This property is read-only.
The format of the information returned by this property is required to be identical to the format of the information returned by Environment.StackTrace .
The Exception.StackTrace property is overridden in classes that require control over the stack trace content or format.
Use the Exception.StackTrace property to obtain a string representation of the contents of the call stack at the time the exception was thrown.