WorkflowInstance 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 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
定義識別。