ICorDebugManagedCallback2::DestroyConnection Method

Notifies the debugger that the specified connection has been terminated.

Syntax

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 System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0

See also