GetDynamicActivity Method

Gets the dynamic child activity with the specified name.

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

Syntax

'Declaration
Public Function GetDynamicActivity ( _
    childActivityName As String _
) As Activity
public Activity GetDynamicActivity(
    string childActivityName
)
public:
Activity^ GetDynamicActivity(
    String^ childActivityName
)
function getDynamicActivity(childActivityName);

Parameters

  • childActivityName
    Type: String
    The name of the child activity.

Return Value

The running copy of the activity, or null if the activity is not currently running.

Exceptions

Exception Condition
ArgumentException Thrown if the argument is null or empty.
ArgumentException Thrown if the activity requested is not a child of this CommuniationSequenceActivity.

See Also

CommunicationsSequenceActivity Class

Microsoft.Rtc.Workflow.Activities Namespace