CommunicationsEventsActivity Class

A container for DialogEventActivity, CallDisconnectedEventActivity and CallControlEventActivity objects. CommunicationsEventsActivity works closely with CommunicationSequenceActivity, which defines a main flow. CommunicationsEventsActivity represents the system-initiated events and triggers, and their processing, that can happen while the CommuniationSequenceActivity's main flow is in progress. Each DialogEventActivity represents an event or trigger that can occur and the handler for the event. The CommunicationsEventsActivity acts as a subscriber for these events or triggers by obtaining subscription data from each DialogEventActivity, receives the events as they happen, and then executes the associated CommunicationsEvents.

Inheritance Hierarchy

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

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

Syntax

'Declaration
<AlternateFlowActivityAttribute> _
<ToolboxBitmapAttribute(GetType(CommunicationsEventsActivity), "Images.CommunicationsEventsActivity.bmp")> _
Public NotInheritable Class CommunicationsEventsActivity _
    Inherits CompositeActivity _
    Implements IActivityEventListener(Of ActivityExecutionStatusChangedEventArgs), IInstanceDependencyContainer
'Usage
Dim instance As CommunicationsEventsActivity
[AlternateFlowActivityAttribute]
[ToolboxBitmapAttribute(typeof(CommunicationsEventsActivity), "Images.CommunicationsEventsActivity.bmp")]
public sealed class CommunicationsEventsActivity : CompositeActivity, 
    IActivityEventListener<ActivityExecutionStatusChangedEventArgs>, IInstanceDependencyContainer

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

CommunicationsEventsActivity Members

Microsoft.Rtc.Workflow.Activities Namespace