Share via


ICorDebugManagedCallback2::DestroyConnection Method

Notifies the debugger that the specified connection has been terminated.

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

Parameters

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

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

Remarks

A DestroyConnection callback will be fired when a host calls ICLRDebugManager::EndConnection in the Hosting API.

Requirements

Platforms: See .NET Framework System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

ICorDebugManagedCallback2 Interface

ICorDebugManagedCallback Interface