共用方式為


VoiceCommandServiceConnection.RequestDisambiguationAsync 方法

定義

傳送回應給 Cortana ,指出語音命令傳回多個結果,並要求使用者選取一個。

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

參數

response
VoiceCommandResponse

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

傳回

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

屬性

適用於

另請參閱