DynamicUpdateServices.CreateUpdateMap 方法

定义

创建更新映射。Creates an update map.

重载

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.

注解

此方法支持 Windows Workflow Foundation 的版本控制和动态更新功能。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
介绍 .NET Framework 4.5 中引入的工作流版本控制功能。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.

使用 WorkflowApplication 标识和版本控制Using WorkflowApplication Identity and Versioning
介绍如何使用 WorkflowIdentity 并行承载工作流的多个版本。Describes how to use WorkflowIdentity to host multiple versions of a workflow side-by-side.

WorkflowServiceHost 中的并行版本控制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

参数

updatedWorkflowDefinition
Activity

更新的工作流的定义。The updated workflow definition.

返回

DynamicUpdateMap

创建的更新映射。The created update map.

注解

此方法支持 Windows Workflow Foundation 的版本控制和动态更新功能。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
介绍 .NET Framework 4.5 中引入的工作流版本控制功能。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.

使用 WorkflowApplication 标识和版本控制Using WorkflowApplication Identity and Versioning
介绍如何使用 WorkflowIdentity 并行承载工作流的多个版本。Describes how to use WorkflowIdentity to host multiple versions of a workflow side-by-side.

WorkflowServiceHost 中的并行版本控制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(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

参数

updatedActivityDefinition
ActivityBuilder

更新活动定义。The updated activity definition.

返回

DynamicUpdateMap

创建的更新映射。The created update map.

注解

此方法支持 Windows Workflow Foundation 的版本控制和动态更新功能。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
介绍 .NET Framework 4.5 中引入的工作流版本控制功能。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.

使用 WorkflowApplication 标识和版本控制Using WorkflowApplication Identity and Versioning
介绍如何使用 WorkflowIdentity 并行承载工作流的多个版本。Describes how to use WorkflowIdentity to host multiple versions of a workflow side-by-side.

WorkflowServiceHost 中的并行版本控制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, 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

参数

updatedWorkflowDefinition
Activity

更新的工作流的定义。The updated workflow definition.

disallowUpdateInsideActivities
IEnumerable<Activity>

活动列表。The list of activities.

返回

DynamicUpdateMap

创建的更新映射。The created update map.

注解

此方法支持 Windows Workflow Foundation 的版本控制和动态更新功能。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
介绍 .NET Framework 4.5 中引入的工作流版本控制功能。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.

使用 WorkflowApplication 标识和版本控制Using WorkflowApplication Identity and Versioning
介绍如何使用 WorkflowIdentity 并行承载工作流的多个版本。Describes how to use WorkflowIdentity to host multiple versions of a workflow side-by-side.

WorkflowServiceHost 中的并行版本控制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(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

参数

updatedActivityDefinition
ActivityBuilder

更新活动定义。The updated activity definition.

disallowUpdateInsideActivities
IEnumerable<Activity>

活动列表。The list of activities.

返回

DynamicUpdateMap

创建的更新映射。The created update map.

注解

此方法支持 Windows Workflow Foundation 的版本控制和动态更新功能。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
介绍 .NET Framework 4.5 中引入的工作流版本控制功能。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.

使用 WorkflowApplication 标识和版本控制Using WorkflowApplication Identity and Versioning
介绍如何使用 WorkflowIdentity 并行承载工作流的多个版本。Describes how to use WorkflowIdentity to host multiple versions of a workflow side-by-side.

WorkflowServiceHost 中的并行版本控制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, 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

参数

updatedWorkflowDefinition
Activity

更新的工作流的定义。The updated workflow definition.

disallowUpdateInsideActivities
IEnumerable<Activity>

活动列表。The list of activities.

activitiesBlockingUpdate
IList<ActivityBlockingUpdate>

禁止更新的列表。The list of blocking update.

返回

DynamicUpdateMap

创建的更新映射。The created update map.

注解

此方法支持 Windows Workflow Foundation 的版本控制和动态更新功能。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
介绍 .NET Framework 4.5 中引入的工作流版本控制功能。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.

使用 WorkflowApplication 标识和版本控制Using WorkflowApplication Identity and Versioning
介绍如何使用 WorkflowIdentity 并行承载工作流的多个版本。Describes how to use WorkflowIdentity to host multiple versions of a workflow side-by-side.

WorkflowServiceHost 中的并行版本控制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(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

参数

updatedActivityDefinition
ActivityBuilder

更新活动定义。The updated activity definition.

disallowUpdateInsideActivities
IEnumerable<Activity>

活动列表。The list of activities.

activitiesBlockingUpdate
IList<ActivityBlockingUpdate>

禁止更新的列表。The list of blocking update.

返回

DynamicUpdateMap

创建的更新映射。The created update map.

注解

此方法支持 Windows Workflow Foundation 的版本控制和动态更新功能。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
介绍 .NET Framework 4.5 中引入的工作流版本控制功能。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.

使用 WorkflowApplication 标识和版本控制Using WorkflowApplication Identity and Versioning
介绍如何使用 WorkflowIdentity 并行承载工作流的多个版本。Describes how to use WorkflowIdentity to host multiple versions of a workflow side-by-side.

WorkflowServiceHost 中的并行版本控制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.

适用于