IDebugHostErrorSink 接口 (dbgmodel.h)

将向其接收错误的接口。

调用方实现的接口,用于接收来自主机和数据模型某些部分的错误。

继承

IDebugHostErrorSink 继承自 IUnknown。

方法

IDebugHostErrorSink 接口具有这些方法。

 
IDebugHostErrorSink::AddRef

IDebugHostErrorSink::AddRef 方法递增对象上接口的引用计数。
IDebugHostErrorSink::QueryInterface

IDebugHostErrorSink::QueryInterface 方法检索指向对象上支持接口的指针。
IDebugHostErrorSink::Release

IDebugHostErrorSink::Release 方法递减对象上接口的引用计数。
IDebugHostErrorSink::ReportError

ReportError 方法是对错误接收器的回调,用于通知错误已发生,并允许接收器将错误路由到任何适当的 UI 或机制。

注解

IDebugHostErrorSink 是客户端接收某些操作期间发生的错误通知并在需要时路由这些错误的一种方法。

要求

要求
Header dbgmodel.h

另请参阅

调试器数据模型 C++ 概述