Rediger

Del via


EventHandlersActivity.GetDynamicActivity(String) Method

Definition

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