Export (0) Print
Expand All

CommandActivity Class

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.

Namespace:  Microsoft.Rtc.Workflow.Activities
Assembly:  Microsoft.Rtc.Workflow (in Microsoft.Rtc.Workflow.dll)

public abstract class CommandActivity : CommunicationsSequenceActivity, 
	IEventActivity, IInstanceDependencyContainer

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft