WorkflowChanges 類別

定義

警告

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

代表一組對執行中的工作流程實例提出的變更。

public ref class WorkflowChanges sealed
public sealed class WorkflowChanges
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class WorkflowChanges
type WorkflowChanges = class
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type WorkflowChanges = class
Public NotInheritable Class WorkflowChanges
繼承
WorkflowChanges
屬性

備註

Note

此數據會討論已過時的類型和命名空間。 欲了解更多資訊,請參閱 Windows Workflow Foundation 4.5 中的 Deprecated Types。

所有對執行中的工作流程實例提出的變更都必須透過物件 WorkflowChanges 來完成。

WorkflowChanges 物件在應用程式程式碼中(工作流實例外)建構時, Activity 傳給建構子的物件必須是該 GetWorkflowDefinition 類別的方法 WorkflowInstance 回傳的物件。

建構函式

名稱 Description
WorkflowChanges(Activity)
已淘汰.

初始化 WorkflowChanges 類別的新執行個體。

欄位

名稱 Description
ConditionProperty
已淘汰.

指定必須滿足的條件才能應用。WorkflowChanges

屬性

名稱 Description
TransientWorkflow
已淘汰.

回傳一個複製的活動樹,可對其進行修改,然後套用到執行中的工作流程實例中。

方法

名稱 Description
Equals(Object)
已淘汰.

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetCondition(Object)
已淘汰.

取得依賴物件上的條件屬性。

GetHashCode()
已淘汰.

做為預設哈希函式。

(繼承來源 Object)
GetType()
已淘汰.

取得目前實例的 Type

(繼承來源 Object)
MemberwiseClone()
已淘汰.

建立目前 Object的淺層複本。

(繼承來源 Object)
SetCondition(Object, Object)
已淘汰.

在相依物件上設定條件屬性。

ToString()
已淘汰.

傳回表示目前 物件的字串。

(繼承來源 Object)
Validate()
已淘汰.

驗證目前對該 TransientWorkflow 屬性所代表的活動樹所做的擬議變更。

適用於