Share via


VoiceCommandServiceConnection.ReportFailureAsync(VoiceCommandResponse) Method

Definition

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

public:
 virtual IAsyncAction ^ ReportFailureAsync(VoiceCommandResponse ^ response) = ReportFailureAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction ReportFailureAsync(VoiceCommandResponse const& response);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction ReportFailureAsync(VoiceCommandResponse response);
function reportFailureAsync(response)
Public Function ReportFailureAsync (response As VoiceCommandResponse) As IAsyncAction

Parameters

response
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.

Attributes

Applies to

See also