Partilhar 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.

Inheritance Hierarchy

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

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)
'Usage
Dim instance As CommandsActivity
[AlternateFlowActivityAttribute]
[ToolboxBitmapAttribute(typeof(CommandsActivity), "Images.CommandsActivity.bmp")]
public sealed class CommandsActivity : CompositeActivity, 
    IActivityEventListener<ActivityExecutionStatusChangedEventArgs>

Thread Safety

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

See Also

Reference

CommandsActivity Members

Microsoft.Rtc.Workflow.Activities Namespace