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.NET Framework 4.5 中引入的工作流程版本控制功能。Describes the workflow versioning functionality introduced in .NET Framework 4.5.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.NET Framework 4.5 中引入的工作流程版本控制功能。Describes the workflow versioning functionality introduced in .NET Framework 4.5.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.NET Framework 4.5 中引入的工作流程版本控制功能。Describes the workflow versioning functionality introduced in .NET Framework 4.5.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.

適用於