通知调试器已从托管代码中引发了异常。
HRESULT Exception (
[in] ICorDebugAppDomain *pAppDomain,
[in] ICorDebugThread *pThread,
[in] BOOL unhandled
);
参数
pAppDomain
[in] 一个指向 ICorDebugAppDomain 对象的指针,该对象表示在其中引发了异常的应用程序域。pThread
[in] 一个指向 ICorDebugThread 对象的指针,该对象表示在其中引发了异常的线程。unhandled
[in] 如果此值为 false,则应用程序尚未经处理的异常;否则,异常处于未处理状态并且将终止进程。
备注
可从线程对象中检索特定异常。
要求
**平台:**请参见 .NET Framework 系统要求。
头文件: CorDebug.idl、CorDebug.h
**库:**CorGuids.lib
**.NET Framework 版本:**4、3.5 SP1、3.5、3.0 SP1、3.0、2.0 SP1、2.0、1.1、1.0