ICorDebugManagedCallback2::DestroyConnection Method

Notifies the debugger that the specified connection has been terminated.

HRESULT DestroyConnection (
    [in] ICorDebugProcess     *pProcess,
    [in] CONNID               dwConnectionId


Parameter Description


[in] A pointer to an ICorDebugProcess Interface object that represents the process containing the connection that was destroyed.


[in] The ID of the connection that was destroyed.

A DestroyConnection callback will be fired when a host calls ICLRDebugManager::EndConnection Method in the Hosting (Unmanaged API Reference) API.

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0