หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Notifies the debugger that a CTRL+C is trapped in the process that is being debugged.
Syntax
HRESULT ControlCTrap (
[in] ICorDebugProcess *pProcess
);
Parameters
pProcess
[in] A pointer to an ICorDebugProcess object that represents the process in which the CTRL+C is trapped.
Return Value
| HRESULT | Description |
|---|---|
| S_OK | The debugger will handle the CTRL+C trap. |
| S_FALSE | The debugger will not handle the CTRL+C trap. |
Remarks
All application domains within the process are stopped for this callback.
Requirements
Platforms: See .NET supported operating systems.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET versions: Available since .NET Framework 1.0