ICorDebugManagedCallback2::CreateConnection Method
.NET Framework 4.5
Notifies the debugger that a new connection has been created.
HRESULT CreateConnection (
[in] ICorDebugProcess *pProcess,
[in] CONNID dwConnectionId,
[in] WCHAR *pConnName
);
A CreateConnection callback will be fired in either of the following cases:
-
When a debugger attaches to a process that contains connections. In this case, the runtime will generate and dispatch a CreateConnection event and a ICorDebugManagedCallback2::ChangeConnection event for each connection in the process.
-
When a host calls ICLRDebugManager::BeginConnection in the Hosting API.
Platforms: See .NET Framework System Requirements.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET Framework Versions: 4.5, 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0