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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for