IDkmDataBreakpointErrorInfoClient.OnError 方法

定义

当断点无效并且需要通知 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

中调试监视器支持的低级别断点对象。

level
DkmBreakpointMessageLevel

中描述从断点管理器发送回源组件的消息的严重性。 此列表按优先级顺序排序,因为 UI 只显示最重要的警告。 如果绑定了断点,则忽略所有警告。

message
String

中要报告的错误消息。

适用于