Share via


CommandsActivity Class

A collection of CommandActivity objects. CommandsActivity works closely with CommuniationSequenceActivity, which defines a main workflow. CommandsActivity represents the out-of-band events, and their processing, which happen while the CommunicationSequenceActivity's main flow is in progress. Each CommandActivity represents an event and the handler for the event. The CommandsActivity acts as a subscriber for these events by obtaining subscription data from each CommandActivity, receives the events as they happen, and then executes the associated commands.

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

Syntax

'Declaration
<AlternateFlowActivityAttribute> _
<ToolboxBitmapAttribute(GetType(CommandsActivity), "Images.CommandsActivity.bmp")> _
Public NotInheritable Class CommandsActivity _
    Inherits CompositeActivity _
    Implements IActivityEventListener(Of ActivityExecutionStatusChangedEventArgs)
[AlternateFlowActivityAttribute]
[ToolboxBitmapAttribute(typeof(CommandsActivity), "Images.CommandsActivity.bmp")]
public sealed class CommandsActivity : CompositeActivity, 
    IActivityEventListener<ActivityExecutionStatusChangedEventArgs>
[AlternateFlowActivityAttribute]
[ToolboxBitmapAttribute(typeof(CommandsActivity), L"Images.CommandsActivity.bmp")]
public ref class CommandsActivity sealed : public CompositeActivity, 
    IActivityEventListener<ActivityExecutionStatusChangedEventArgs^>
Microsoft.Rtc.Workflow.Activities.CommandsActivity = function();

Type.createClass(
    'Microsoft.Rtc.Workflow.Activities.CommandsActivity',
    CompositeActivity,
    IActivityEventListener`1);

Inheritance Hierarchy

System.Object
  System.Workflow.ComponentModel.DependencyObject
    System.Workflow.ComponentModel.Activity
      System.Workflow.ComponentModel.CompositeActivity
        Microsoft.Rtc.Workflow.Activities.CommandsActivity

See Also

CommandsActivity Members

Microsoft.Rtc.Workflow.Activities Namespace