更新:2007 年 11 月
允许调试器截获此线程上的当前异常。
HRESULT InterceptCurrentException (
[in] ICorDebugFrame *pFrame
);
参数
- pFrame
[in] 一个指针,指向表示活动堆栈帧的 ICorDebugFrame。
备注
可以在异常回调(ICorDebugManagedCallback::Exception 或 ICorDebugManagedCallback2::Exception)与关联的 ICorDebugController::Continue 调用之间调用 InterceptCurrentException 方法。
要求
**平台:**请参见 .NET Framework 系统要求。
**头文件:**CorDebug.idl
**库:**CorGuids.lib
**.NET Framework 版本:**3.5 SP1、3.5、3.0 SP1、3.0、2.0 SP1、2.0