共用方式為


ICorDebugManagedCallback2::D estroyConnection 方法

通知偵錯工具指定的連線已終止。

語法

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

參數

pProcess [在]ICorDebugProcess 物件的指標,代表包含已終結連線的進程。

dwConnectionId [在]已毀損連線的 ID。

備註

DestroyConnection當主機在裝載 API 中呼叫 ICLRDebugManager::EndConnection 時,將會引發回呼。

需求

平台: 請參閱 .NET 支援的作業系統

標題: CorDebug.idl、CorDebug.h

圖書館: CorGuids.lib

.NET 版本: 自 .NET Framework 2.0 起提供

另請參閱