DkmRuntimeBreakpoint.OnError(DkmBreakpointMessageLevel, String) Method

Definition

This method will be called when an breakpoint has been invalid and needs to inform the UI.

Location constraint: This can be called from any component.

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

public:
 void OnError(Microsoft::VisualStudio::Debugger::Breakpoints::DkmBreakpointMessageLevel Level, System::String ^ Message);
public void OnError (Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointMessageLevel Level, string Message);
member this.OnError : Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointMessageLevel * string -> unit
Public Sub OnError (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] The error message to be reported.

Applies to