Share via


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 _
)
protected override sealed void OnActivityChangeAdd(
    ActivityExecutionContext executionContext,
    Activity addedActivity
)
protected:
virtual void OnActivityChangeAdd(
    ActivityExecutionContext^ executionContext, 
    Activity^ addedActivity
) override sealed
function onActivityChangeAdd(executionContext, addedActivity);

Parameters

  • executionContext
    Type: ActivityExecutionContext
  • addedActivity
    Type: Activity

Exceptions

Exception Condition
NotSupportedException Thrown because the operation is not supported.

See Also

CommunicationsSequenceActivity Class

Microsoft.Rtc.Workflow.Activities Namespace