IDkmCustomStopNotification.OnCustomStop 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在事件处理过程中,将调用 OnCustomStop。 有关详细信息,请参阅接口定义。
public:
void OnCustomStop(Microsoft::VisualStudio::Debugger::DkmCustomMessage ^ customMessage, Microsoft::VisualStudio::Debugger::DkmThread ^ thread, Guid vsService, Microsoft::VisualStudio::Debugger::DkmEventDescriptorS ^ eventDescriptor);
public void OnCustomStop (Microsoft.VisualStudio.Debugger.DkmCustomMessage customMessage, Microsoft.VisualStudio.Debugger.DkmThread thread, Guid vsService, Microsoft.VisualStudio.Debugger.DkmEventDescriptorS eventDescriptor);
abstract member OnCustomStop : Microsoft.VisualStudio.Debugger.DkmCustomMessage * Microsoft.VisualStudio.Debugger.DkmThread * Guid * Microsoft.VisualStudio.Debugger.DkmEventDescriptorS -> unit
Public Sub OnCustomStop (customMessage As DkmCustomMessage, thread As DkmThread, vsService As Guid, eventDescriptor As DkmEventDescriptorS)
参数
- customMessage
- DkmCustomMessage
中用于在自定义调试器后端组件和自定义 visual studio UI 组件之间传递信息 (包、外接程序等) 的消息结构。
- thread
- DkmThread
中DkmThread 表示在目标进程中运行的线程。
- vsService
- Guid
中此事件应发送到的 Visual Studio 服务。 VS 包必须将此服务 id 注册 (ex: Software\Microsoft\VisualStudio $ (ver) \Services { VsService} ) 并且此包必须实现 IVsCustomDebuggerStoppingEventHandler110 接口。
- eventDescriptor
- DkmEventDescriptorS
中描述正在处理的事件,并提供组件禁止显示此事件的功能。