共用方式為


VoiceCommandServiceConnection.RequestConfirmationAsync 方法

定義

將回應傳送給 Cortana ,指出語音命令需要確認。

public:
 virtual IAsyncOperation<VoiceCommandConfirmationResult ^> ^ RequestConfirmationAsync(VoiceCommandResponse ^ response) = RequestConfirmationAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<VoiceCommandConfirmationResult> RequestConfirmationAsync(VoiceCommandResponse const& response);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<VoiceCommandConfirmationResult> RequestConfirmationAsync(VoiceCommandResponse response);
function requestConfirmationAsync(response)
Public Function RequestConfirmationAsync (response As VoiceCommandResponse) As IAsyncOperation(Of VoiceCommandConfirmationResult)

參數

response
VoiceCommandResponse

來自背景 App Service 的回應,用於進度、確認、厘清、完成或失敗畫面顯示在 Cortana 畫布上。

傳回

具有使用者回應的 VoiceCommandConfirmationResult 物件。

屬性

適用於

另請參閱