ICorDebugThread2::InterceptCurrentException 方法

允许调试器截获此线程上的当前异常。

语法

HRESULT InterceptCurrentException (  
    [in] ICorDebugFrame  *pFrame  
);  

参数

pFrame
[in] 指向表示活动堆栈帧的 ICorDebugFrame 的指针。

备注

可在异常回调(ICorDebugManagedCallback::ExceptionICorDebugManagedCallback2::Exception)和与 ICorDebugController::Continue 关联的调用之间调用 InterceptCurrentException 方法。

要求

平台:请参阅系统要求

标头:CorDebug.idl、CorDebug.h

库:CorGuids.lib

.NET Framework 版本:自 2.0 起可用