Share via


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
Public property Activities (inherited from CompositeActivity)
Public property 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)
Protected property CanModifyActivities (inherited from CompositeActivity)
Public property Description (inherited from Activity)
Protected property DesignMode (inherited from DependencyObject)
Public property Enabled (inherited from Activity)
Public property EnabledActivities (inherited from CompositeActivity)
Public property ExecutionResult (inherited from Activity)
Public property ExecutionStatus (inherited from Activity)
Public property 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.
Public property IsDynamicActivity (inherited from Activity)
Public property Name (inherited from Activity)
Public property Parent (inherited from Activity)
Protected property ParentDependencyObject (inherited from DependencyObject)
Public property QualifiedName (inherited from Activity)
Public property RecognitionResult Gets the recognition result that triggered the command. A RecognitionResult object represents the result of the recognition engine on audio input.
Public property Site (inherited from DependencyObject)
Public property UserData (inherited from DependencyObject)
Protected property WorkflowInstanceId (inherited from Activity)

Top

Methods

  Name Description
Public method AddHandler (inherited from DependencyObject)
Protected method ApplyWorkflowChanges (inherited from CompositeActivity)
Protected method Cancel Cancels the execution of the command. (Overrides CommunicationsSequenceActivity.Cancel(ActivityExecutionContext).)
Public method Clone (inherited from Activity)
Public method Dispose() (inherited from DependencyObject)
Protected method Dispose(Boolean) (inherited from CompositeActivity)
Public method Equals (inherited from Object)
Protected method Execute Executes the command. (Overrides CommunicationsSequenceActivity.Execute(ActivityExecutionContext).)
Protected method Finalize (inherited from DependencyObject)
Public method GetActivityByName(String) (inherited from Activity)
Public method GetActivityByName(String, Boolean) (inherited from Activity)
Public method GetBinding (inherited from DependencyObject)
Protected method GetBoundValue (inherited from DependencyObject)
Protected method GetDynamicActivities (inherited from CompositeActivity)
Public method GetDynamicActivity Gets the dynamic child activity with the specified name. (inherited from CommunicationsSequenceActivity)
Public method GetHashCode (inherited from Object)
Protected method GetInvocationList<T> (inherited from DependencyObject)
Public method GetType (inherited from Object)
Public method GetValue (inherited from DependencyObject)
Public method GetValueBase (inherited from DependencyObject)
Protected method HandleFault Handles an exception. (inherited from CommunicationsSequenceActivity)
Protected method Initialize (inherited from CompositeActivity)
Protected method InitializeProperties (inherited from DependencyObject)
Protected method Invoke<T>(EventHandler<T>, T) (inherited from Activity)
Protected method Invoke<T>(IActivityEventListener<T>, T) (inherited from Activity)
Public method IsBindingSet (inherited from DependencyObject)
Protected method MemberwiseClone (inherited from Object)
Public method MetaEquals (inherited from DependencyObject)
Protected method OnActivityChangeAdd Dynamic update logic for adding an activity to CommunicationsSequenceActivity at runtime. (inherited from CommunicationsSequenceActivity)
Protected method OnActivityChangeRemove Dynamic update logic for removing an activity from CommunicationsSequenceActivity at runtime. (inherited from CommunicationsSequenceActivity)
Protected method OnActivityExecutionContextLoad (inherited from CompositeActivity)
Protected method OnActivityExecutionContextUnload (inherited from CompositeActivity)
Protected method OnClosed (inherited from Activity)
Protected method OnListChanged (inherited from CompositeActivity)
Protected method OnListChanging (inherited from CompositeActivity)
Protected method OnSequenceComplete (inherited from SequenceActivity)
Protected method OnWorkflowChangesCompleted (inherited from SequenceActivity)
Protected method RaiseEvent (inherited from Activity)
Protected method RaiseGenericEvent<T> (inherited from Activity)
Public method RegisterForStatusChange (inherited from Activity)
Public method RemoveHandler (inherited from DependencyObject)
Public method RemoveProperty (inherited from DependencyObject)
Public method Save(Stream) (inherited from Activity)
Public method Save(Stream, IFormatter) (inherited from Activity)
Public method SetBinding (inherited from DependencyObject)
Protected method SetBoundValue (inherited from DependencyObject)
Protected method SetReadOnlyPropertyValue (inherited from DependencyObject)
Public method SetValue (inherited from DependencyObject)
Public method SetValueBase (inherited from DependencyObject)
Protected method Subscribe Requests that the CommandActivity creates 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.
Public method ToString (inherited from Activity)
Protected method TrackData(Object) (inherited from Activity)
Protected method TrackData(String, Object) (inherited from Activity)
Protected method Uninitialize (inherited from CompositeActivity)
Public method UnregisterForStatusChange (inherited from Activity)
Protected method Unsubscribe Requests that the CommandActivity deletes the queue for its event.

Top

Events

  Name Description
Public event Canceling (inherited from Activity)
Public event Closed (inherited from Activity)
Public event Compensating (inherited from Activity)
Public event Executing (inherited from Activity)
Public event Faulting (inherited from Activity)
Public event StatusChanged (inherited from Activity)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IActivityEventListener<ActivityExecutionStatusChangedEventArgs>.OnEvent (inherited from CommunicationsSequenceActivity)
Explicit interface implemetationPrivate property IEventActivity.QueueName Gets the name of the queue created to receive the event represented by this CommandActivity.
Explicit interface implemetationPrivate method 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.
Explicit interface implemetationPrivate method IEventActivity.Unsubscribe Called to get the CommandActivity to delete the queue for its event.
Explicit interface implemetationPrivate event IComponent.Disposed (inherited from DependencyObject)
Explicit interface implemetationPrivate property IInstanceDependencyContainer.InstanceDependencyProperties

Top

See Also

Reference

CommandActivity Class

Microsoft.Rtc.Workflow.Activities Namespace