Share via


ICorDebugManagedCallback2::CreateConnection Method

Notifies the debugger that a new connection has been created.

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

Parameters

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

  • dwConnectionId
    [in] The ID of the new connection.

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

Remarks

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

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