VoiceCommandServiceConnection.ReportSuccessAsync(VoiceCommandResponse) VoiceCommandServiceConnection.ReportSuccessAsync(VoiceCommandResponse) VoiceCommandServiceConnection.ReportSuccessAsync(VoiceCommandResponse) VoiceCommandServiceConnection.ReportSuccessAsync(VoiceCommandResponse) VoiceCommandServiceConnection.ReportSuccessAsync(VoiceCommandResponse) Method

Definition

Sends a response to Cortana indicating the voice command has succeeded.

public : IAsyncAction ReportSuccessAsync(VoiceCommandResponse response)
IAsyncAction ReportSuccessAsync(VoiceCommandResponse response) const;
public IAsyncAction ReportSuccessAsync(VoiceCommandResponse response)
Public Function ReportSuccessAsync(response As VoiceCommandResponse) As IAsyncAction
Windows.ApplicationModel.VoiceCommands.VoiceCommandServiceConnection.reportSuccessAsync(response).done( /* Your success and error handlers */ );

Parameters

response
VoiceCommandResponse VoiceCommandResponse VoiceCommandResponse

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

Returns

An asynchronous handler called when the operation is complete.

See also