VoiceCommandServiceConnection.ReportSuccessAsync(VoiceCommandResponse) Method

Definition

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

Applies to

See also