ICorDebugManagedCallback2::CreateConnection 方法

通知调试器,已创建新连接。

语法

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

参数

pProcess [in]指向“ICorDebugProcess”对象的指针,该对象表示在其中创建连接的进程

dwConnectionId [in]新连接的 ID。

pConnName [in]指向新连接名称的指针。

注解

CreateConnection 回调将在以下任一情况下触发:

要求

平台:请参阅系统要求

标头:CorDebug.idl、CorDebug.h

库:CorGuids.lib

.NET Framework 版本:自 2.0 起可用

请参阅