StateActivity.GetDynamicActivity Method (String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Workflow.Activities
Assembly:  System.Workflow.Activities (in System.Workflow.Activities.dll)

public Activity GetDynamicActivity(
	string childActivityName
)

Parameters

childActivityName
Type: System.String

The child activity.

Return Value

Type: System.Workflow.ComponentModel.Activity

The dynamic child activities.

Exception Condition
ArgumentException

The executable activities do not contain the childActivityName.

.NET Framework
Available since 3.0
Return to top
Show: