Edit

Share via


StateActivity.GetDynamicActivity(String) Method

Definition

Gets the executing instance of the Activity that corresponds to the specified child activity name.

public:
 System::Workflow::ComponentModel::Activity ^ GetDynamicActivity(System::String ^ childActivityName);
public System.Workflow.ComponentModel.Activity GetDynamicActivity (string childActivityName);
member this.GetDynamicActivity : string -> System.Workflow.ComponentModel.Activity
Public Function GetDynamicActivity (childActivityName As String) As Activity

Parameters

childActivityName
String

The child activity.

Returns

The dynamic child activities.

Exceptions

The executable activities do not contain the childActivityName.

Applies to

See also