Aracılığıyla paylaş


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

Name Value Description
Unknown 0

Unknown error.

CommunicationFailed 1

Communication with Cortana failed.

ResourceLimitsExceeded 2

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

Canceled 3

The user cancelled the interaction with Cortana.

TimeoutExceeded 4

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

AppLaunched 5

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

Completed 6

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

Applies to

See also