ICorDebugManagedCallback2::DestroyConnection 方法

通知调试程序,指定的连接已终止。

语法

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

参数

pProcess
[in] 指向 ICorDebugProcess 对象的指针,该对象表示包含已破坏的连接的进程。

dwConnectionId
[in] 已破坏的连接的 ID。

备注

当主机调用宿主 API 中的 ICLRDebugManager::EndConnection 时,会触发 DestroyConnection 回调。

要求

平台:请参阅系统要求

标头:CorDebug.idl、CorDebug.h

库:CorGuids.lib

.NET Framework 版本:自 2.0 起可用

请参阅