VoiceCommandServiceConnection.GetVoiceCommandAsync 方法

定义

检索用户通过语音或文本提交到 Cortana 的语音命令。

public:
 virtual IAsyncOperation<VoiceCommand ^> ^ GetVoiceCommandAsync() = GetVoiceCommandAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<VoiceCommand> GetVoiceCommandAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<VoiceCommand> GetVoiceCommandAsync();
function getVoiceCommandAsync()
Public Function GetVoiceCommandAsync () As IAsyncOperation(Of VoiceCommand)

返回

VoiceCommand

属性

适用于

另请参阅