共用方式為


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 為 null 參考 (在 Visual Basic 中為 Nothing)。

適用於