DynamicUpdateServices.PrepareForUpdate 方法

定义

准备要更新的工作流定义。Prepares a workflow definition to be updated.

重载

PrepareForUpdate(Activity)

准备要更新的工作流定义。Prepares a workflow definition to be updated.

PrepareForUpdate(ActivityBuilder)

准备要更新的工作流定义。Prepares a workflow definition to be updated.

注解

此方法支持 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.

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)

参数

workflowDefinitionToBeUpdated
Activity

要更新的工作流。The workflow to be updated.

注解

此方法支持 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.

适用于

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)

参数

activityDefinitionToBeUpdated
ActivityBuilder

要更新的活动。The activity to be updated.

注解

此方法支持 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.

适用于