CorrelationProperty 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
表示用于将消息关联到特定接收活动的名称和值对。
public ref class CorrelationProperty
[System.Serializable]
public class CorrelationProperty
[System.Serializable]
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public class CorrelationProperty
[<System.Serializable>]
type CorrelationProperty = class
[<System.Serializable>]
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type CorrelationProperty = class
Public Class CorrelationProperty
- 继承
-
CorrelationProperty
- 属性
注解
注释
此材料讨论已过时的类型和命名空间。 有关详细信息,请参阅 Windows Workflow Foundation 4.50 中的
CorrelationProperty 类定义为 ActivityBind 工作流连接服务活动的属性。 默认情况下,这些属性绑定到根工作流活动中声明的变量。 对于动态活动(例如 ReplicatorActivity 及其 ConditionedActivityGroup 每个子级)不能共享通用 CorrelationProperty 对象。 假设每个任务在某个 ReplicatorActivity 任务内必须管理自己的对话。 内部 ReplicatorActivity 的子活动需要每个执行上下文或每个任务唯一的 CorrelationProperty 实例。 为此,必须定义具有 CorrelationProperty 实例属性的自定义活动,工作流连接服务活动必须绑定到此属性。
构造函数
| 名称 | 说明 |
|---|---|
| CorrelationProperty(String, Object) |
已过时.
初始化 CorrelationProperty 类的新实例。 |
属性
| 名称 | 说明 |
|---|---|
| Name |
已过时.
获取关联集中使用的属性的名称。 |
| Value |
已过时.
获取相关集属性的值。 |
方法
| 名称 | 说明 |
|---|---|
| Equals(Object) |
已过时.
确定指定的对象是否等于当前对象。 (继承自 Object) |
| GetHashCode() |
已过时.
用作默认哈希函数。 (继承自 Object) |
| GetType() |
已过时.
获取当前实例的 Type。 (继承自 Object) |
| MemberwiseClone() |
已过时.
创建当前 Object的浅表副本。 (继承自 Object) |
| ToString() |
已过时.
返回一个表示当前对象的字符串。 (继承自 Object) |