Share via


DkmPendingBreakpoint.OnBreakpointMessage Method

Definition

Overloads

OnBreakpointMessage(DkmBreakpointMessageLevel, DkmBreakpointSuggestedFix, String)

Notification from the breakpoint manager concerning the status of binding the breakpoint.

This API was introduced in Visual Studio 17 Update 4 (DkmApiVersion.VS17Update4).

OnBreakpointMessage(DkmBreakpointMessageLevel, DkmBreakpointSuggestedFix, Byte, String)

Notification from the breakpoint manager concerning the status of binding the breakpoint.

This API was introduced in Visual Studio 17 Update 6 (DkmApiVersion.VS17Update6).

OnBreakpointMessage(DkmBreakpointMessageLevel, String)

Notification from the breakpoint manager concerning the status of binding the breakpoint.

OnBreakpointMessage(DkmBreakpointMessageLevel, DkmBreakpointSuggestedFix, String)

Notification from the breakpoint manager concerning the status of binding the breakpoint.

This API was introduced in Visual Studio 17 Update 4 (DkmApiVersion.VS17Update4).

public void OnBreakpointMessage (Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointMessageLevel Level, Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointSuggestedFix SuggestedFix, string Message);
member this.OnBreakpointMessage : Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointMessageLevel * Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointSuggestedFix * string -> unit
Public Sub OnBreakpointMessage (Level As DkmBreakpointMessageLevel, SuggestedFix As DkmBreakpointSuggestedFix, Message As String)

Parameters

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.

SuggestedFix
DkmBreakpointSuggestedFix

[In] Provides a suggested action a user could take to try to fix a breakpoint that has failed to bind. Note that these are suggestions, and applying a suggested fix may not actually resolve a bind failure.

Message
String

[In] Message string to display to the user.

Applies to

OnBreakpointMessage(DkmBreakpointMessageLevel, DkmBreakpointSuggestedFix, Byte, String)

Notification from the breakpoint manager concerning the status of binding the breakpoint.

This API was introduced in Visual Studio 17 Update 6 (DkmApiVersion.VS17Update6).

public void OnBreakpointMessage (Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointMessageLevel Level, Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointSuggestedFix SuggestedFix, byte MinorSeverityLevel, string Message);
member this.OnBreakpointMessage : Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointMessageLevel * Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointSuggestedFix * byte * string -> unit
Public Sub OnBreakpointMessage (Level As DkmBreakpointMessageLevel, SuggestedFix As DkmBreakpointSuggestedFix, MinorSeverityLevel As Byte, Message As String)

Parameters

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.

SuggestedFix
DkmBreakpointSuggestedFix

[In] Provides a suggested action a user could take to try to fix a breakpoint that has failed to bind. Note that these are suggestions, and applying a suggested fix may not actually resolve a bind failure.

MinorSeverityLevel
Byte

[In] Each breakpoint message has a 16-bit severity. The top 8-bits are derived from Level. This byte provides the low 8-bits. Together this gives a unique severity value for all built-in breakpoint warnings/errors.

Message
String

[In] Message string to display to the user.

Applies to

OnBreakpointMessage(DkmBreakpointMessageLevel, String)

Notification from the breakpoint manager concerning the status of binding the breakpoint.

public:
 void OnBreakpointMessage(Microsoft::VisualStudio::Debugger::Breakpoints::DkmBreakpointMessageLevel Level, System::String ^ Message);
public:
 void OnBreakpointMessage(Microsoft::VisualStudio::Debugger::Breakpoints::DkmBreakpointMessageLevel Level, Platform::String ^ Message);
void OnBreakpointMessage(Microsoft::VisualStudio::Debugger::Breakpoints::DkmBreakpointMessageLevel Level, std::wstring const & Message);
public void OnBreakpointMessage (Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointMessageLevel Level, string Message);
member this.OnBreakpointMessage : Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointMessageLevel * string -> unit
Public Sub OnBreakpointMessage (Level As DkmBreakpointMessageLevel, Message As String)

Parameters

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] Message string to display to the user.

Applies to