VoiceCommandServiceConnection.ReportSuccessAsync(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 succeeded.
public:
virtual IAsyncAction ^ ReportSuccessAsync(VoiceCommandResponse ^ response) = ReportSuccessAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction ReportSuccessAsync(VoiceCommandResponse const& response);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction ReportSuccessAsync(VoiceCommandResponse response);
function reportSuccessAsync(response)
Public Function ReportSuccessAsync (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