Why is UnhandledExceptionEventArgs.ExceptionObject
an object and not an Exception
?
I am attaching to AppDomain.UnhandledException
.
I would like to cast UnhandledExceptionEventArgs.ExceptionObject
to an Exception
and interogate it.
And with this in mind will it ever be null?
The MSDN documentation is not exatly useful.
Gets the unhandled exception object.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…