VoiceCommandServiceConnection.ReportSuccessAsync(VoiceCommandResponse) 方法

定义

Cortana 发送响应,指示语音命令已成功。

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

参数

response
VoiceCommandResponse

来自后台应用服务对 Cortana 画布上显示的进度、确认、消除歧义、完成或失败屏幕的响应。

返回

完成该操作后,将调用异步处理程序。

属性

适用于

另请参阅