Modifica

Condividi tramite


DynamicUpdateServices.CreateUpdateMap Method

Definition

Creates an update map.

Overloads

CreateUpdateMap(Activity)

Creates an update map with specified workflow definition.

CreateUpdateMap(ActivityBuilder)

Creates an update map with specified activity definition.

CreateUpdateMap(Activity, IEnumerable<Activity>)

Creates an update map with specified workflow definition and list of disallow update inside activities.

CreateUpdateMap(ActivityBuilder, IEnumerable<Activity>)

Creates an update map with specified activity definition and list of disallow update inside activities.

CreateUpdateMap(Activity, IEnumerable<Activity>, IList<ActivityBlockingUpdate>)

Creates an update map with specified workflow definition, list of disallow update inside activities and blocking updates.

CreateUpdateMap(ActivityBuilder, IEnumerable<Activity>, IList<ActivityBlockingUpdate>)

Creates an update map with specified activity definition and list of disallow update inside activities and blocking updates.

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.

CreateUpdateMap(Activity)

Creates an update map with specified workflow definition.

public:
 static System::Activities::DynamicUpdate::DynamicUpdateMap ^ CreateUpdateMap(System::Activities::Activity ^ updatedWorkflowDefinition);
public static System.Activities.DynamicUpdate.DynamicUpdateMap CreateUpdateMap (System.Activities.Activity updatedWorkflowDefinition);
static member CreateUpdateMap : System.Activities.Activity -> System.Activities.DynamicUpdate.DynamicUpdateMap
Public Shared Function CreateUpdateMap (updatedWorkflowDefinition As Activity) As DynamicUpdateMap

Parameters

updatedWorkflowDefinition
Activity

The updated workflow definition.

Returns

The created update 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

CreateUpdateMap(ActivityBuilder)

Creates an update map with specified activity definition.

public:
 static System::Activities::DynamicUpdate::DynamicUpdateMap ^ CreateUpdateMap(System::Activities::ActivityBuilder ^ updatedActivityDefinition);
public static System.Activities.DynamicUpdate.DynamicUpdateMap CreateUpdateMap (System.Activities.ActivityBuilder updatedActivityDefinition);
static member CreateUpdateMap : System.Activities.ActivityBuilder -> System.Activities.DynamicUpdate.DynamicUpdateMap
Public Shared Function CreateUpdateMap (updatedActivityDefinition As ActivityBuilder) As DynamicUpdateMap

Parameters

updatedActivityDefinition
ActivityBuilder

The updated activity definition.

Returns

The created update 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

CreateUpdateMap(Activity, IEnumerable<Activity>)

Creates an update map with specified workflow definition and list of disallow update inside activities.

public:
 static System::Activities::DynamicUpdate::DynamicUpdateMap ^ CreateUpdateMap(System::Activities::Activity ^ updatedWorkflowDefinition, System::Collections::Generic::IEnumerable<System::Activities::Activity ^> ^ disallowUpdateInsideActivities);
public static System.Activities.DynamicUpdate.DynamicUpdateMap CreateUpdateMap (System.Activities.Activity updatedWorkflowDefinition, System.Collections.Generic.IEnumerable<System.Activities.Activity> disallowUpdateInsideActivities);
static member CreateUpdateMap : System.Activities.Activity * seq<System.Activities.Activity> -> System.Activities.DynamicUpdate.DynamicUpdateMap
Public Shared Function CreateUpdateMap (updatedWorkflowDefinition As Activity, disallowUpdateInsideActivities As IEnumerable(Of Activity)) As DynamicUpdateMap

Parameters

updatedWorkflowDefinition
Activity

The updated workflow definition.

disallowUpdateInsideActivities
IEnumerable<Activity>

The list of activities.

Returns

The created update 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

CreateUpdateMap(ActivityBuilder, IEnumerable<Activity>)

Creates an update map with specified activity definition and list of disallow update inside activities.

public:
 static System::Activities::DynamicUpdate::DynamicUpdateMap ^ CreateUpdateMap(System::Activities::ActivityBuilder ^ updatedActivityDefinition, System::Collections::Generic::IEnumerable<System::Activities::Activity ^> ^ disallowUpdateInsideActivities);
public static System.Activities.DynamicUpdate.DynamicUpdateMap CreateUpdateMap (System.Activities.ActivityBuilder updatedActivityDefinition, System.Collections.Generic.IEnumerable<System.Activities.Activity> disallowUpdateInsideActivities);
static member CreateUpdateMap : System.Activities.ActivityBuilder * seq<System.Activities.Activity> -> System.Activities.DynamicUpdate.DynamicUpdateMap
Public Shared Function CreateUpdateMap (updatedActivityDefinition As ActivityBuilder, disallowUpdateInsideActivities As IEnumerable(Of Activity)) As DynamicUpdateMap

Parameters

updatedActivityDefinition
ActivityBuilder

The updated activity definition.

disallowUpdateInsideActivities
IEnumerable<Activity>

The list of activities.

Returns

The created update 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

CreateUpdateMap(Activity, IEnumerable<Activity>, IList<ActivityBlockingUpdate>)

Creates an update map with specified workflow definition, list of disallow update inside activities and blocking updates.

public:
 static System::Activities::DynamicUpdate::DynamicUpdateMap ^ CreateUpdateMap(System::Activities::Activity ^ updatedWorkflowDefinition, System::Collections::Generic::IEnumerable<System::Activities::Activity ^> ^ disallowUpdateInsideActivities, [Runtime::InteropServices::Out] System::Collections::Generic::IList<System::Activities::DynamicUpdate::ActivityBlockingUpdate ^> ^ % activitiesBlockingUpdate);
public static System.Activities.DynamicUpdate.DynamicUpdateMap CreateUpdateMap (System.Activities.Activity updatedWorkflowDefinition, System.Collections.Generic.IEnumerable<System.Activities.Activity> disallowUpdateInsideActivities, out System.Collections.Generic.IList<System.Activities.DynamicUpdate.ActivityBlockingUpdate> activitiesBlockingUpdate);
static member CreateUpdateMap : System.Activities.Activity * seq<System.Activities.Activity> * IList -> System.Activities.DynamicUpdate.DynamicUpdateMap
Public Shared Function CreateUpdateMap (updatedWorkflowDefinition As Activity, disallowUpdateInsideActivities As IEnumerable(Of Activity), ByRef activitiesBlockingUpdate As IList(Of ActivityBlockingUpdate)) As DynamicUpdateMap

Parameters

updatedWorkflowDefinition
Activity

The updated workflow definition.

disallowUpdateInsideActivities
IEnumerable<Activity>

The list of activities.

activitiesBlockingUpdate
IList<ActivityBlockingUpdate>

The list of blocking update.

Returns

The created update 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

CreateUpdateMap(ActivityBuilder, IEnumerable<Activity>, IList<ActivityBlockingUpdate>)

Creates an update map with specified activity definition and list of disallow update inside activities and blocking updates.

public:
 static System::Activities::DynamicUpdate::DynamicUpdateMap ^ CreateUpdateMap(System::Activities::ActivityBuilder ^ updatedActivityDefinition, System::Collections::Generic::IEnumerable<System::Activities::Activity ^> ^ disallowUpdateInsideActivities, [Runtime::InteropServices::Out] System::Collections::Generic::IList<System::Activities::DynamicUpdate::ActivityBlockingUpdate ^> ^ % activitiesBlockingUpdate);
public static System.Activities.DynamicUpdate.DynamicUpdateMap CreateUpdateMap (System.Activities.ActivityBuilder updatedActivityDefinition, System.Collections.Generic.IEnumerable<System.Activities.Activity> disallowUpdateInsideActivities, out System.Collections.Generic.IList<System.Activities.DynamicUpdate.ActivityBlockingUpdate> activitiesBlockingUpdate);
static member CreateUpdateMap : System.Activities.ActivityBuilder * seq<System.Activities.Activity> * IList -> System.Activities.DynamicUpdate.DynamicUpdateMap
Public Shared Function CreateUpdateMap (updatedActivityDefinition As ActivityBuilder, disallowUpdateInsideActivities As IEnumerable(Of Activity), ByRef activitiesBlockingUpdate As IList(Of ActivityBlockingUpdate)) As DynamicUpdateMap

Parameters

updatedActivityDefinition
ActivityBuilder

The updated activity definition.

disallowUpdateInsideActivities
IEnumerable<Activity>

The list of activities.

activitiesBlockingUpdate
IList<ActivityBlockingUpdate>

The list of blocking update.

Returns

The created update 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