允許偵錯工具攔截此執行緒上的目前例外狀況。
語法
HRESULT InterceptCurrentException (
[in] ICorDebugFrame *pFrame
);
參數
pFrame [在]代表作用中堆疊框架之 ICorDebugFrame 的指標。
備註
InterceptCurrentException您可以在例外狀況回呼 (ICorDebugManagedCallback::Exception 或 ICorDebugManagedCallback2::Exception) 與 ICorDebugController::Continue 的相關聯呼叫之間呼叫方法。
需求
平台: 請參閱 .NET 支援的作業系統。
標題: CorDebug.idl、CorDebug.h
圖書館: CorGuids.lib
.NET 版本: 自 .NET Framework 2.0 起提供