AddedActivityAction 构造函数

定义

初始化 AddedActivityAction 类的新实例。

重载

AddedActivityAction()

初始化 AddedActivityAction 类的新实例。

AddedActivityAction(CompositeActivity, Activity)

使用指定的活动和复合活动初始化 AddedActivityAction 类的新实例。

AddedActivityAction()

初始化 AddedActivityAction 类的新实例。

public:
 AddedActivityAction();
public AddedActivityAction ();
Public Sub New ()

适用于

AddedActivityAction(CompositeActivity, Activity)

使用指定的活动和复合活动初始化 AddedActivityAction 类的新实例。

public:
 AddedActivityAction(System::Workflow::ComponentModel::CompositeActivity ^ compositeActivity, System::Workflow::ComponentModel::Activity ^ activityAdded);
public AddedActivityAction (System.Workflow.ComponentModel.CompositeActivity compositeActivity, System.Workflow.ComponentModel.Activity activityAdded);
new System.Workflow.ComponentModel.AddedActivityAction : System.Workflow.ComponentModel.CompositeActivity * System.Workflow.ComponentModel.Activity -> System.Workflow.ComponentModel.AddedActivityAction
Public Sub New (compositeActivity As CompositeActivity, activityAdded As Activity)

参数

compositeActivity
CompositeActivity

CompositeActivity 所基于的 AddedActivityAction

activityAdded
Activity

添加到工作流的 Activity

例外

compositeActivityactivityAdded 为空引用(在 Visual Basic 中为 Nothing)。

适用于