VoiceCommandServiceConnection.ReportProgressAsync 方法

定义

Cortana 发送响应,指示正在处理语音命令。

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

参数

response
VoiceCommandResponse

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

返回

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

属性

注解

Cortana 向用户显示进度屏幕长达 5 秒。 后台应用服务通过再次调用 ReportProgressAsync 发送另一个进度消息,或者移动到交互流中的下一个屏幕, (确认、消除歧义或完成) 。

适用于

另请参阅