ICorDebugManagedCallback2::D estroyConnection 方法

通知调试器指定的连接已终止。

Syntax

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

参数

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

dwConnectionId [in]已销毁的连接的 ID。

注解

DestroyConnection当主机在托管 API 中调用 ICLRDebugManager::EndConnection 时,将触发回调。

要求

平台: 请参阅 .NET 支持的作系统

页眉: CorDebug.idl、CorDebug.h

图书馆: CorGuids.lib

.NET 版本: 自 .NET Framework 2.0 起可用

另请参阅