IDkmRuntimeBreakpointHitWithErrorReceived.OnRuntimeBreakpointHitWithErrorReceived 方法

定义

在事件处理过程中,将调用 OnRuntimeBreakpointHitWithErrorReceived。 有关详细信息,请参阅接口定义。

public:
 void OnRuntimeBreakpointHitWithErrorReceived(Microsoft::VisualStudio::Debugger::Breakpoints::DkmRuntimeBreakpoint ^ runtimeBreakpoint, Microsoft::VisualStudio::Debugger::DkmThread ^ thread, bool hasException, Microsoft::VisualStudio::Debugger::Breakpoints::DkmBreakpointMessageLevel level, System::String ^ message, Microsoft::VisualStudio::Debugger::DkmEventDescriptorS ^ eventDescriptor);
public void OnRuntimeBreakpointHitWithErrorReceived (Microsoft.VisualStudio.Debugger.Breakpoints.DkmRuntimeBreakpoint runtimeBreakpoint, Microsoft.VisualStudio.Debugger.DkmThread thread, bool hasException, Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointMessageLevel level, string message, Microsoft.VisualStudio.Debugger.DkmEventDescriptorS eventDescriptor);
abstract member OnRuntimeBreakpointHitWithErrorReceived : Microsoft.VisualStudio.Debugger.Breakpoints.DkmRuntimeBreakpoint * Microsoft.VisualStudio.Debugger.DkmThread * bool * Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointMessageLevel * string * Microsoft.VisualStudio.Debugger.DkmEventDescriptorS -> unit
Public Sub OnRuntimeBreakpointHitWithErrorReceived (runtimeBreakpoint As DkmRuntimeBreakpoint, thread As DkmThread, hasException As Boolean, level As DkmBreakpointMessageLevel, message As String, eventDescriptor As DkmEventDescriptorS)

参数

runtimeBreakpoint
DkmRuntimeBreakpoint

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

thread
DkmThread

中DkmThread 表示在目标进程中运行的线程。

hasException
Boolean

中如果源运行时实例可以确定命中断点的线程上的异常,则为 true。 目前,只有托管的运行时实例设置了此。 这用于快速确定是否应该应用异常特定的逻辑,而不进行其他网络往返。

level
DkmBreakpointMessageLevel

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

message
String

中要报告的错误消息。

eventDescriptor
DkmEventDescriptorS

中描述正在处理的事件,并提供组件禁止显示此事件的功能。

适用于