WorkflowInstance Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the WorkflowInstance class.
Overloads
WorkflowInstance(Activity) |
Initializes a new instance of the WorkflowInstance class with the specified workflow definition. |
WorkflowInstance(Activity, WorkflowIdentity) |
Initializes a new instance of the WorkflowInstance class with the specified workflow definition and definition identity. |
WorkflowInstance(Activity)
Initializes a new instance of the WorkflowInstance class with the specified workflow definition.
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)
Parameters
- workflowDefinition
- Activity
The activity that defines the workflow.
Applies to
WorkflowInstance(Activity, WorkflowIdentity)
Initializes a new instance of the WorkflowInstance class with the specified workflow definition and definition identity.
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)
Parameters
- workflowDefinition
- Activity
The activity that defines the workflow.
- definitionIdentity
- WorkflowIdentity
The definition identity.