| -api-id | T:Windows.ApplicationModel.VoiceCommands.VoiceCommandCompletionReason |
|---|---|
| -api-type | winrt enum |
Specifies the possible reasons the voice command completed.
Unknown error.
Communication with Cortana failed.
The background app service exited because not enough resources were available.
The user cancelled the interaction with Cortana.
The background app service took too long to provide a response to Cortana.
The background app service requested that the app launch in the foreground with a call to RequestAppLaunchAsync.
The background app service completed the interaction by calling ReportSuccessAsync or ReportFailureAsync.
Windows.ApplicationModel.VoiceCommands, VoiceCommandCompletedEventArgs.Reason, elements and attributes v1.2, Cortana interactions, Cortana design guidelines, Cortana voice command sample