Modifier

Partager via


DynamicUpdateServices.SetImplementationMap(Activity, DynamicUpdateMap) Method

Definition

Sets an implementation map for the DynamicUpdateServices.

public:
 static void SetImplementationMap(System::Activities::Activity ^ targetActivity, System::Activities::DynamicUpdate::DynamicUpdateMap ^ implementationMap);
public static void SetImplementationMap (System.Activities.Activity targetActivity, System.Activities.DynamicUpdate.DynamicUpdateMap implementationMap);
static member SetImplementationMap : System.Activities.Activity * System.Activities.DynamicUpdate.DynamicUpdateMap -> unit
Public Shared Sub SetImplementationMap (targetActivity As Activity, implementationMap As DynamicUpdateMap)

Parameters

targetActivity
Activity

The target activity.

implementationMap
DynamicUpdateMap

The set implementation map.

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