共用方式為


WorkflowInstance 建構函式

定義

初始化 WorkflowInstance 類別的新執行個體。

多載

WorkflowInstance(Activity)

以指定的工作流程定義初始化 WorkflowInstance 類別的新執行個體。

WorkflowInstance(Activity, WorkflowIdentity)

使用指定的工作流程定義和定義識別,初始化 WorkflowInstance 類別的新執行個體。

WorkflowInstance(Activity)

以指定的工作流程定義初始化 WorkflowInstance 類別的新執行個體。

protected:
 WorkflowInstance(System::Activities::Activity ^ workflowDefinition);
protected WorkflowInstance (System.Activities.Activity workflowDefinition);
new System.Activities.Hosting.WorkflowInstance : System.Activities.Activity -> System.Activities.Hosting.WorkflowInstance
Protected Sub New (workflowDefinition As Activity)

參數

workflowDefinition
Activity

定義工作流程的活動。

適用於

WorkflowInstance(Activity, WorkflowIdentity)

使用指定的工作流程定義和定義識別,初始化 WorkflowInstance 類別的新執行個體。

protected:
 WorkflowInstance(System::Activities::Activity ^ workflowDefinition, System::Activities::WorkflowIdentity ^ definitionIdentity);
protected WorkflowInstance (System.Activities.Activity workflowDefinition, System.Activities.WorkflowIdentity definitionIdentity);
new System.Activities.Hosting.WorkflowInstance : System.Activities.Activity * System.Activities.WorkflowIdentity -> System.Activities.Hosting.WorkflowInstance
Protected Sub New (workflowDefinition As Activity, definitionIdentity As WorkflowIdentity)

參數

workflowDefinition
Activity

定義工作流程的活動。

definitionIdentity
WorkflowIdentity

定義識別。

適用於