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

定义标识。

适用于