IDebugPortEx2

此接口允许会议调试管理器 (SDM)控件程序和进程运行在端口。

IDebugPortEx2 : IUnknown

实现者说明

自定义端口提供程序实现在同一对象的此接口实现 IDebugPort2

调用方的说明

SDM 调用 IDebugPort2 接口的 QueryInterface 获取此接口。

方法按 Vtable 顺序

下表显示 IDebugPortEx2方法。

方法

说明

IDebugPortEx2:: LaunchSuspended

生成可执行文件。

IDebugPortEx2:: ResumeProcess

回收进程的执行。

IDebugPortEx2:: CanTerminateProcess

确定进程是否可以停止。

IDebugPortEx2:: TerminateProcess

停止处理。

IDebugPortEx2:: GetPortProcessId

获取端口的进程 ID。

IDebugPortEx2:: GetProgram

获取程序与程序节点。

备注

此接口通常是专用在 SDM 和自定义端口提供程序之间。

如果需要,调试引擎 (DE)可以位于 IDebugPort2 接口的此接口传递给 IDebugEngineLaunch2:: LaunchSuspended 和使用 IDebugPortEx2:: LaunchSuspended 启动程序。 这不是必需的,但是和 DE 可以执行将需要执行启动请求程序。

要求

标题:portpriv.h

命名空间:Microsoft.VisualStudio.Debugger.Interop

程序集:Microsoft.VisualStudio.Debugger.Interop.dll

请参见

参考

IDebugPort2

概念

核心接口