Redigera

Dela via


DynamicUpdateServices.PrepareForUpdate Method

Definition

Prepares a workflow definition to be updated.

Overloads

PrepareForUpdate(Activity)

Prepares a workflow definition to be updated.

PrepareForUpdate(ActivityBuilder)

Prepares a workflow definition to be updated.

Remarks

This method supports the versioning and dynamic update functionality of Windows Workflow Foundation. For more information about workflow versioning, workflow identity, and dynamic update, see the following topics.

Workflow Versioning
Describes the workflow versioning functionality introduced in .NET Framework 4.5.

Dynamic Update
Describes how to update the workflow definition of a persisted workflow instance by using dynamic update.

Using WorkflowApplication Identity and Versioning
Describes how to use WorkflowIdentity to host multiple versions of a workflow side-by-side.

Side by Side Versioning in WorkflowServiceHost
Describes how to host multiple versions of a workflow on a single endpoint.

How to: Host Multiple Versions of a Workflow Side-by-Side
This step in the Getting Started Tutorial demonstrates updating a workflow definition, and hosting workflows using both the old and new definition at the same time.

How to: Update the Definition of a Running Workflow Instance
This step in the Getting Started Tutorial demonstrates updating persisted workflow instances to use a new workflow definition.

PrepareForUpdate(Activity)

Prepares a workflow definition to be updated.

public:
 static void PrepareForUpdate(System::Activities::Activity ^ workflowDefinitionToBeUpdated);
public static void PrepareForUpdate (System.Activities.Activity workflowDefinitionToBeUpdated);
static member PrepareForUpdate : System.Activities.Activity -> unit
Public Shared Sub PrepareForUpdate (workflowDefinitionToBeUpdated As Activity)

Parameters

workflowDefinitionToBeUpdated
Activity

The workflow to be updated.

Remarks

This method supports the versioning and dynamic update functionality of Windows Workflow Foundation. For more information about workflow versioning, workflow identity, and dynamic update, see the following topics.

Workflow Versioning
Describes the workflow versioning functionality introduced in .NET Framework 4.5.

Dynamic Update
Describes how to update the workflow definition of a persisted workflow instance by using dynamic update.

Using WorkflowApplication Identity and Versioning
Describes how to use WorkflowIdentity to host multiple versions of a workflow side-by-side.

Side by Side Versioning in WorkflowServiceHost
Describes how to host multiple versions of a workflow on a single endpoint.

How to: Host Multiple Versions of a Workflow Side-by-Side
This step in the Getting Started Tutorial demonstrates updating a workflow definition, and hosting workflows using both the old and new definition at the same time.

How to: Update the Definition of a Running Workflow Instance
This step in the Getting Started Tutorial demonstrates updating persisted workflow instances to use a new workflow definition.

Applies to

PrepareForUpdate(ActivityBuilder)

Prepares a workflow definition to be updated.

public:
 static void PrepareForUpdate(System::Activities::ActivityBuilder ^ activityDefinitionToBeUpdated);
public static void PrepareForUpdate (System.Activities.ActivityBuilder activityDefinitionToBeUpdated);
static member PrepareForUpdate : System.Activities.ActivityBuilder -> unit
Public Shared Sub PrepareForUpdate (activityDefinitionToBeUpdated As ActivityBuilder)

Parameters

activityDefinitionToBeUpdated
ActivityBuilder

The activity to be updated.

Remarks

This method supports the versioning and dynamic update functionality of Windows Workflow Foundation. For more information about workflow versioning, workflow identity, and dynamic update, see the following topics.

Workflow Versioning
Describes the workflow versioning functionality introduced in .NET Framework 4.5.

Dynamic Update
Describes how to update the workflow definition of a persisted workflow instance by using dynamic update.

Using WorkflowApplication Identity and Versioning
Describes how to use WorkflowIdentity to host multiple versions of a workflow side-by-side.

Side by Side Versioning in WorkflowServiceHost
Describes how to host multiple versions of a workflow on a single endpoint.

How to: Host Multiple Versions of a Workflow Side-by-Side
This step in the Getting Started Tutorial demonstrates updating a workflow definition, and hosting workflows using both the old and new definition at the same time.

How to: Update the Definition of a Running Workflow Instance
This step in the Getting Started Tutorial demonstrates updating persisted workflow instances to use a new workflow definition.

Applies to