Partilhar via


CommunicationsSequenceActivity.OnActivityChangeAdd Method

Dynamic update logic for adding an activity to CommunicationsSequenceActivity at runtime.

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

Syntax

'Declaration
Protected Overrides NotOverridable Sub OnActivityChangeAdd ( _
    executionContext As ActivityExecutionContext, _
    addedActivity As Activity _
)
'Usage
Dim executionContext As ActivityExecutionContext
Dim addedActivity As Activity

Me.OnActivityChangeAdd(executionContext, _
    addedActivity)
protected override sealed void OnActivityChangeAdd(
    ActivityExecutionContext executionContext,
    Activity addedActivity
)

Parameters

Exceptions

Exception Condition
NotSupportedException

Thrown because the operation is not supported.

See Also

Reference

CommunicationsSequenceActivity Class

CommunicationsSequenceActivity Members

Microsoft.Rtc.Workflow.Activities Namespace