ICorDebugManagedCallback::ControlCTrap Method


Notifies the debugger that a CTRL+C is trapped in the process that is being debugged.

HRESULT ControlCTrap (  
    [in] ICorDebugProcess *pProcess  


[in] A pointer to an ICorDebugProcess object that represents the process in which the CTRL+C is trapped.

S_OKThe debugger will handle the CTRL+C trap.
S_FALSEThe debugger will not handle the CTRL+C trap.

All application domains within the process are stopped for this callback.

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 1.0

ICorDebugManagedCallback Interface