Share via


ConversationalAgentActivationResult Enum

Definition

Specifies the supported agent activation request result values.

public enum class ConversationalAgentActivationResult
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 851968)]
enum class ConversationalAgentActivationResult
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 851968)]
public enum ConversationalAgentActivationResult
var value = Windows.ApplicationModel.ConversationalAgent.ConversationalAgentActivationResult.success
Public Enum ConversationalAgentActivationResult
Inheritance
ConversationalAgentActivationResult
Attributes

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)

Fields

Name Value Description
Success 0

Activation was successful.

AgentInactive 1

Activation failed because the agent requesting the activation was not in dialog. For example, ConversationalAgentState was inactive.

ScreenNotAvailable 2

Activation failed because the display is not accessible. For example when the laptop lid is closed.

AgentInterrupted 3

Activation failed because the agent was interrupted.

Applies to

See also