ICorDebugThread2::InterceptCurrentException Method

Allows a debugger to intercept the current exception on this thread.

Syntax

HRESULT InterceptCurrentException (  
    [in] ICorDebugFrame  *pFrame  
);  

Parameters

pFrame
[in] A pointer to an ICorDebugFrame that represents the active stack frame.

Remarks

The InterceptCurrentException method can be called between an exception callback (ICorDebugManagedCallback::Exception or ICorDebugManagedCallback2::Exception) and the associated call to ICorDebugController::Continue.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0