ActivityExecutionContextManager 類別

定義

警告

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

允許 a CompositeActivity 為其子活動建立並管理執行上下文。 此類別無法獲得繼承。

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

備註

Note

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

屬性

名稱 Description
ExecutionContexts
已淘汰.

代表目前活動所建立、尚未完成的執行上下文集合。

PersistedExecutionContexts
已淘汰.

代表由目前活動所建立、已完成並在執行完成後被持久化的執行上下文集合。

方法

名稱 Description
CompleteExecutionContext(ActivityExecutionContext, Boolean)
已淘汰.

標記執行上下文為已完成。

CompleteExecutionContext(ActivityExecutionContext)
已淘汰.

標記執行上下文為已完成。

CreateExecutionContext(Activity)
已淘汰.

為指定的 ActivityExecutionContext創造 。Activity

Equals(Object)
已淘汰.

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

(繼承來源 Object)
GetExecutionContext(Activity)
已淘汰.

獲得 ActivityExecutionContext 與指定 Activity

GetHashCode()
已淘汰.

做為預設哈希函式。

(繼承來源 Object)
GetPersistedExecutionContext(Guid)
已淘汰.

擷取持續化 ActivityExecutionContext 的 ,對應指定的 Guid

GetType()
已淘汰.

取得目前實例的 Type

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

建立目前 Object的淺層複本。

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

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

(繼承來源 Object)

適用於