Share via


VoiceCommandServiceConnection.RequestDisambiguationAsync Method

Definition

Sends a response to Cortana indicating the voice command returned more than one result and requires the user to select one.

public:
 virtual IAsyncOperation<VoiceCommandDisambiguationResult ^> ^ RequestDisambiguationAsync(VoiceCommandResponse ^ response) = RequestDisambiguationAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<VoiceCommandDisambiguationResult> RequestDisambiguationAsync(VoiceCommandResponse const& response);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<VoiceCommandDisambiguationResult> RequestDisambiguationAsync(VoiceCommandResponse response);
function requestDisambiguationAsync(response)
Public Function RequestDisambiguationAsync (response As VoiceCommandResponse) As IAsyncOperation(Of VoiceCommandDisambiguationResult)

Parameters

response
VoiceCommandResponse

The response from a background app service for progress, confirmation, disambiguation, completion, or failure screens displayed on the Cortana canvas.

Returns

The VoiceCommandDisambiguationResult object with the user's response.

Attributes

Applies to

See also