DkmRuntimeFunctionResolutionRequest.OnResolverMessage Method

Definition

Overloads

OnResolverMessage(DkmBreakpointMessageLevel, String)

Called by runtime function resolvers when the resolver wishes to notify its client an error/warning occurred while attempting to resolve the breakpoint.

Location constraint: API must be called from a Monitor component (component level < 100,000).

OnResolverMessage(DkmWorkList, DkmBreakpointMessageLevel, String, DkmCompletionRoutine<DkmOnResolverMessageAsyncResult>)

Called by runtime function resolvers when the resolver wishes to notify its client an error/warning occurred while attempting to resolve the breakpoint.

This method will append a new work item to the specified work list, and return once the work item has been appended. The actual processing of the work item is asynchronous. The caller will be notified that the request is complete through the completion routine.

Location constraint: API must be called from a Monitor component (component level < 100,000).

OnResolverMessage(DkmBreakpointMessageLevel, String)

Called by runtime function resolvers when the resolver wishes to notify its client an error/warning occurred while attempting to resolve the breakpoint.

Location constraint: API must be called from a Monitor component (component level < 100,000).

public:
 void OnResolverMessage(Microsoft::VisualStudio::Debugger::Breakpoints::DkmBreakpointMessageLevel Level, System::String ^ Message);
public:
 void OnResolverMessage(Microsoft::VisualStudio::Debugger::Breakpoints::DkmBreakpointMessageLevel Level, Platform::String ^ Message);
void OnResolverMessage(Microsoft::VisualStudio::Debugger::Breakpoints::DkmBreakpointMessageLevel Level, std::wstring const & Message);
public void OnResolverMessage (Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointMessageLevel Level, string Message);
member this.OnResolverMessage : Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointMessageLevel * string -> unit
Public Sub OnResolverMessage (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

OnResolverMessage(DkmWorkList, DkmBreakpointMessageLevel, String, DkmCompletionRoutine<DkmOnResolverMessageAsyncResult>)

Called by runtime function resolvers when the resolver wishes to notify its client an error/warning occurred while attempting to resolve the breakpoint.

This method will append a new work item to the specified work list, and return once the work item has been appended. The actual processing of the work item is asynchronous. The caller will be notified that the request is complete through the completion routine.

Location constraint: API must be called from a Monitor component (component level < 100,000).

public:
 void OnResolverMessage(Microsoft::VisualStudio::Debugger::DkmWorkList ^ WorkList, Microsoft::VisualStudio::Debugger::Breakpoints::DkmBreakpointMessageLevel Level, System::String ^ Message, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::FunctionResolution::DkmOnResolverMessageAsyncResult> ^ CompletionRoutine);
public void OnResolverMessage (Microsoft.VisualStudio.Debugger.DkmWorkList WorkList, Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointMessageLevel Level, string Message, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.FunctionResolution.DkmOnResolverMessageAsyncResult> CompletionRoutine);
member this.OnResolverMessage : Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointMessageLevel * string * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.FunctionResolution.DkmOnResolverMessageAsyncResult> -> unit
Public Sub OnResolverMessage (WorkList As DkmWorkList, Level As DkmBreakpointMessageLevel, Message As String, CompletionRoutine As DkmCompletionRoutine(Of DkmOnResolverMessageAsyncResult))

Parameters

WorkList
DkmWorkList

WorkList to append the new work item to.

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.

CompletionRoutine
DkmCompletionRoutine<DkmOnResolverMessageAsyncResult>

Routine to fire when the request is complete. If the request is successfully appended to the work list, this will always fire (including when the operation is canceled). This will never fire if appending the work item fails.

Applies to