DkmRuntimeBreakpoint.OnHitWithError Method

Definition

Raise a RuntimeBreakpointHitWithError event. Components which implement the event sink interface will receive the event notification. This method will enqueue the event and control will immediately return to the caller.

This API was introduced in Visual Studio 16 RTM (DkmApiVersion.VS16RTM).

public:
 void OnHitWithError(Microsoft::VisualStudio::Debugger::DkmThread ^ Thread, bool HasException, Microsoft::VisualStudio::Debugger::Breakpoints::DkmBreakpointMessageLevel Level, System::String ^ Message);
public void OnHitWithError (Microsoft.VisualStudio.Debugger.DkmThread Thread, bool HasException, Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointMessageLevel Level, string Message);
member this.OnHitWithError : Microsoft.VisualStudio.Debugger.DkmThread * bool * Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointMessageLevel * string -> unit
Public Sub OnHitWithError (Thread As DkmThread, HasException As Boolean, Level As DkmBreakpointMessageLevel, Message As String)

Parameters

Thread
DkmThread

[In] DkmThread represents a thread running in the target process.

HasException
Boolean

[In] Contains true if the source runtime instance can determine that an exception is in flight on the thread which hit the breakpoint. Currently, only managed runtime instances ever set this. This is used to quickly determine if exception specific logic should apply without making another network round-trip.

Level
DkmBreakpointMessageLevel

[In] Describes the severity of a message sent from a breakpoint manager back to the source component. This list is sorted in order of priority, as the UI will only display the most important warning. All warnings are ignored if the breakpoint is bound.

Message
String

[In] The error message to be reported.

Applies to