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
定义标识。