Partilhar via


ICorDebugManagedCallback2::ChangeConnection Method

Notifies the debugger that the set of tasks associated with the specified connection has changed.

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

Parameters

Parameter Description

pProcess

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

dwConnectionId

[in] The ID of the connection that changed.

Remarks

A ChangeConnection callback will be fired in either of the following cases:

The debugger should scan all threads in the process to pick up the new changes.

Requirements

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

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Reference

ICorDebugManagedCallback2 Interface
ICorDebugManagedCallback Interface