通知调试器已从托管代码引发异常。
Syntax
HRESULT Exception (
[in] ICorDebugAppDomain *pAppDomain,
[in] ICorDebugThread *pThread,
[in] BOOL unhandled
);
参数
pAppDomain [in]指向 ICorDebugAppDomain 对象的指针,该对象表示引发异常的应用程序域。
pThread [in]指向 ICorDebugThread 对象的指针,该对象表示引发异常的线程。
unhandled [in]如果值为此值 false,则应用程序尚未处理异常;否则,异常将未经处理,并将终止进程。
注解
可以从线程对象检索特定的异常。
要求
平台: 请参阅 .NET 支持的作系统。
页眉: CorDebug.idl、CorDebug.h
图书馆: CorGuids.lib
.NET 版本: 自 .NET Framework 1.0 起可用