Share via


IDkmVisualStudioServices120.DisplayUserMessagePrompt Method

Definition

Displays a message to the user inside the Visual Studio debugger IDE. This method is the Async implementation. Once it is executed the completion routine will be called with the DkmProcess and the user response (Yes/No). This method requires DkmUserMessage.Process to be non-null.

public:
 void DisplayUserMessagePrompt(Microsoft::VisualStudio::Debugger::DkmUserMessage ^ userMessage, Microsoft::VisualStudio::Debugger::DkmWorkList ^ workList, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::DkmDisplayUserMessagePromptAsyncResult> ^ completionRoutine);
public void DisplayUserMessagePrompt (Microsoft.VisualStudio.Debugger.DkmUserMessage userMessage, Microsoft.VisualStudio.Debugger.DkmWorkList workList, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.DkmDisplayUserMessagePromptAsyncResult> completionRoutine);
abstract member DisplayUserMessagePrompt : Microsoft.VisualStudio.Debugger.DkmUserMessage * Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.DkmDisplayUserMessagePromptAsyncResult> -> unit
Public Sub DisplayUserMessagePrompt (userMessage As DkmUserMessage, workList As DkmWorkList, completionRoutine As DkmCompletionRoutine(Of DkmDisplayUserMessagePromptAsyncResult))

Parameters

userMessage
DkmUserMessage

[In] Contains information about a message that is to be displayed to the user.

workList
DkmWorkList

WorkList which is currently being processed. This value can be used to check for cancelation or to append additional work. New work items will not begin executing until after this function returns.

completionRoutine
DkmCompletionRoutine<DkmDisplayUserMessagePromptAsyncResult>

Routine to fire when the request is complete. This will be implicitly fired if the implementation returns failure from this interface method. The implementation must fire this method in all other scenarios.

Applies to