VoiceCommandServiceConnection.ReportFailureAsync(VoiceCommandResponse) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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