PrepareForUpdate Method (Activity)
Collapse the table of content
Expand the table of content

DynamicUpdateServices.PrepareForUpdate Method (Activity)

.NET Framework (current version)
 

Prepares a workflow definition to be updated.

Namespace:   System.Activities.DynamicUpdate
Assembly:  System.Activities (in System.Activities.dll)

public static void PrepareForUpdate(
	Activity workflowDefinitionToBeUpdated
)

Parameters

workflowDefinitionToBeUpdated
Type: System.Activities.Activity

The workflow to be updated.

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.

.NET Framework
Available since 4.5
Return to top
Show:
© 2016 Microsoft