VoiceCommandServiceConnection.ReportFailureAsync(VoiceCommandResponse) VoiceCommandServiceConnection.ReportFailureAsync(VoiceCommandResponse) VoiceCommandServiceConnection.ReportFailureAsync(VoiceCommandResponse) VoiceCommandServiceConnection.ReportFailureAsync(VoiceCommandResponse) VoiceCommandServiceConnection.ReportFailureAsync(VoiceCommandResponse) Method

Definition

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

public : IAsyncAction ReportFailureAsync(VoiceCommandResponse response)
IAsyncAction ReportFailureAsync(VoiceCommandResponse response) const;
public IAsyncAction ReportFailureAsync(VoiceCommandResponse response)
Public Function ReportFailureAsync(response As VoiceCommandResponse) As IAsyncAction
Windows.ApplicationModel.VoiceCommands.VoiceCommandServiceConnection.reportFailureAsync(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