An Exception
object has a StackTrace
property on it. But it is just a string.
Is there a way to get an actual System.Diagnostics.StackTrace
object from an Exception
?
I ask because I am getting the Exception object from an UnhandledExceptionEventHandler
and I don't have access to the frame that generated the exception to get an actual Stack Trace.