VoiceCommandCompletionReason Enum

Definition

Specifies the possible reasons the voice command completed.

public enum class VoiceCommandCompletionReason
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class VoiceCommandCompletionReason
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum VoiceCommandCompletionReason
var value = Windows.ApplicationModel.VoiceCommands.VoiceCommandCompletionReason.unknown
Public Enum VoiceCommandCompletionReason
Inheritance
VoiceCommandCompletionReason
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

AppLaunched 5

The background app service requested that the app launch in the foreground with a call to RequestAppLaunchAsync.

Canceled 3

The user cancelled the interaction with Cortana.

CommunicationFailed 1

Communication with Cortana failed.

Completed 6

The background app service completed the interaction by calling ReportSuccessAsync or ReportFailureAsync.

ResourceLimitsExceeded 2

The background app service exited because not enough resources were available.

TimeoutExceeded 4

The background app service took too long to provide a response to Cortana.

Unknown 0

Unknown error.

Applies to

See also