ActivityExecutionContextManager 类

定义

注意

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

允许创建 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
属性

注解

注意

此材料讨论已过时的类型和命名空间。 有关详细信息,请参阅 Windows Workflow Foundation 4.50 中的 Deprecated Types。

属性

名称 说明
ExecutionContexts
已过时.

表示由当前活动创建的一组尚未完成的执行上下文。

PersistedExecutionContexts
已过时.

表示由当前活动创建的一组执行上下文,这些上下文已完成,并在完成时持久保存。

方法

名称 说明
CompleteExecutionContext(ActivityExecutionContext, Boolean)
已过时.

将执行上下文标记为已完成。

CompleteExecutionContext(ActivityExecutionContext)
已过时.

将执行上下文标记为已完成。

CreateExecutionContext(Activity)
已过时.

为指定Activity项创建一个 ActivityExecutionContext

Equals(Object)
已过时.

确定指定的对象是否等于当前对象。

(继承自 Object)
GetExecutionContext(Activity)
已过时.

获取 ActivityExecutionContext 与指定 Activity值关联的值。

GetHashCode()
已过时.

用作默认哈希函数。

(继承自 Object)
GetPersistedExecutionContext(Guid)
已过时.

检索与指定Guid对应的持久保存 ActivityExecutionContext

GetType()
已过时.

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()
已过时.

创建当前 Object的浅表副本。

(继承自 Object)
ToString()
已过时.

返回一个表示当前对象的字符串。

(继承自 Object)

适用于