CommandActivity Members
Include Protected Members
Include Inherited Members
Represents a digression in the dialog. A command is matched when the user speaks a phrase recognized by the command's grammar. It is different from a DialogEventActivity in that regard. A DialogEventActivity represents a system-initiated event in the dialog flow, while a CommandActivity represents a user-initiated event and the associated handler for the event. The CommandActivity provides the event-subscription data, and the children of the CommandActivity provide the handler logic for the event. Deriving from the CommandActivity is not supported, as it is used by other command activities.
The CommandActivity type exposes the following members.
Properties
Name | Description | |
---|---|---|
Activities | (inherited from CompositeActivity) | |
CallProvider | Gets or sets a CallProvider object that exposes different objects like the Call object, SpeechSynthesizer object, and the recognizers used in instant message or speech dialogs. (inherited from CommunicationsSequenceActivity) | |
CanModifyActivities | (inherited from CompositeActivity) | |
Description | (inherited from Activity) | |
DesignMode | (inherited from DependencyObject) | |
Enabled | (inherited from Activity) | |
EnabledActivities | (inherited from CompositeActivity) | |
ExecutionResult | (inherited from Activity) | |
ExecutionStatus | (inherited from Activity) | |
Grammar | Gets or sets the grammar used to recognize the input that triggers this CommandActivity. A Grammar object provides run time support for obtaining and managing speech grammar information. | |
IsDynamicActivity | (inherited from Activity) | |
Name | (inherited from Activity) | |
Parent | (inherited from Activity) | |
ParentDependencyObject | (inherited from DependencyObject) | |
QualifiedName | (inherited from Activity) | |
RecognitionResult | Gets the recognition result that triggered the command. A RecognitionResult object represents the result of the recognition engine on audio input. | |
Site | (inherited from DependencyObject) | |
UserData | (inherited from DependencyObject) | |
WorkflowInstanceId | (inherited from Activity) |
Top
Methods
Top
Events
Name | Description | |
---|---|---|
Canceling | (inherited from Activity) | |
Closed | (inherited from Activity) | |
Compensating | (inherited from Activity) | |
Executing | (inherited from Activity) | |
Faulting | (inherited from Activity) | |
StatusChanged | (inherited from Activity) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IActivityEventListener<ActivityExecutionStatusChangedEventArgs>.OnEvent | (inherited from CommunicationsSequenceActivity) | |
IEventActivity.QueueName | Gets the name of the queue created to receive the event represented by this CommandActivity. | |
IEventActivity.Subscribe | Called to get the CommandActivity to create a queue for its event. Because commands do not exist standalone without CommandsActivity in Microsoft Unified Communications Managed API, this method is only called by the CommandsActivity. | |
IEventActivity.Unsubscribe | Called to get the CommandActivity to delete the queue for its event. | |
IComponent.Disposed | (inherited from DependencyObject) | |
IInstanceDependencyContainer.InstanceDependencyProperties |
Top