IDkmDataBreakpointErrorInfoClient.OnError 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当断点无效并且需要通知 UI 时,将调用此方法。
public:
void OnError(Microsoft::VisualStudio::Debugger::Breakpoints::DkmRuntimeBreakpoint ^ runtimeBreakpoint, Microsoft::VisualStudio::Debugger::Breakpoints::DkmBreakpointMessageLevel level, System::String ^ message);
public void OnError (Microsoft.VisualStudio.Debugger.Breakpoints.DkmRuntimeBreakpoint runtimeBreakpoint, Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointMessageLevel level, string message);
abstract member OnError : Microsoft.VisualStudio.Debugger.Breakpoints.DkmRuntimeBreakpoint * Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointMessageLevel * string -> unit
Public Sub OnError (runtimeBreakpoint As DkmRuntimeBreakpoint, level As DkmBreakpointMessageLevel, message As String)
参数
- runtimeBreakpoint
- DkmRuntimeBreakpoint
中调试监视器支持的低级别断点对象。
中描述从断点管理器发送回源组件的消息的严重性。 此列表按优先级顺序排序,因为 UI 只显示最重要的警告。 如果绑定了断点,则忽略所有警告。
- message
- String
中要报告的错误消息。