DkmRuntimeBreakpoint.OnDataBreakpointHit(DkmThread, Boolean, String) Method

Definition

Raise a RuntimeDataBreakpointHit 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 OnDataBreakpointHit(Microsoft::VisualStudio::Debugger::DkmThread ^ Thread, bool HasException, System::String ^ Message);
public void OnDataBreakpointHit (Microsoft.VisualStudio.Debugger.DkmThread Thread, bool HasException, string Message);
member this.OnDataBreakpointHit : Microsoft.VisualStudio.Debugger.DkmThread * bool * string -> unit
Public Sub OnDataBreakpointHit (Thread As DkmThread, HasException As Boolean, 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.

Message
String

[In] The additional message to show to the user.

Applies to