ConditionedActivityGroup.GetDynamicActivity(String) Method     
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the currently executing instance of the child activity.
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 name of the child EventDrivenActivity.
Returns
The currently executing instance of the EventDrivenActivity.
Exceptions
childactivity is a null reference (Nothing in Visual Basic).
The executable activities do not contain the childactivity.