允许调试器截获此线程上的当前异常。
Syntax
HRESULT InterceptCurrentException (
[in] ICorDebugFrame *pFrame
);
参数
pFrame [in]指向表示活动堆栈帧的 ICorDebugFrame 的指针。
注解
InterceptCurrentException可以在异常回调(ICorDebugManagedCallback::Exception 或 ICorDebugManagedCallback2::Exception)和对 ICorDebugController::Continue 的关联调用之间调用该方法。
要求
平台: 请参阅 .NET 支持的作系统。
页眉: CorDebug.idl、CorDebug.h
图书馆: CorGuids.lib
.NET 版本: 自 .NET Framework 2.0 起可用