Activity.GetActivityByName Method (String)
Returns the instance of the Activity whose name is requested from the set of all activities running under the root activity of this instance, which is within the workflow.
Assembly: System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)
activityQualifiedID is a null reference (Nothing in Visual Basic).
Calling GetActivityByName from within the constructor of a custom activity is not supported and can have unexpected results.
Available since 3.0