Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CreateConnection Method

ICorDebugManagedCallback2::CreateConnection Method

Notifies the debugger that a new connection has been created.

HRESULT CreateConnection (
    [in] ICorDebugProcess     *pProcess,
    [in] CONNID               dwConnectionId,
    [in] WCHAR                *pConnName


[in] A pointer to an ICorDebugProcess object that represents the process in which the connection was created


[in] The ID of the new connection.


[in] A pointer to the name of the new connection.

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

Platforms: See .NET Framework System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: 4.6, 4.5.2, 4.5.1, 4.5, 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

© 2015 Microsoft