Redigera

Dela via


WorkflowInstance Constructors

Definition

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