EventHandlersActivity.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 EventDrivenActivity.
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
.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.