Share via


VoiceCommandServiceConnection.GetVoiceCommandAsync Method

Definition

Retrieves the voice command that the user submitted to Cortana by voice or text.

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)

Returns

The VoiceCommand.

Attributes

Applies to

See also