CorrelationToken 类
定义
注意
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
管理所有者活动的 CorrelationProperty 订阅。Manages the subscriptions of the CorrelationProperty to the owner activities. 此类不能被继承。This class cannot be inherited.
public ref class CorrelationToken sealed : System::Workflow::ComponentModel::DependencyObject
public sealed class CorrelationToken : System.Workflow.ComponentModel.DependencyObject
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public sealed class CorrelationToken : System.Workflow.ComponentModel.DependencyObject
type CorrelationToken = class
inherit DependencyObject
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type CorrelationToken = class
inherit DependencyObject
Public NotInheritable Class CorrelationToken
Inherits DependencyObject
- 继承
- 属性
注解
备注
本材料讨论的类型和命名空间已废弃不用。This material discusses types and namespaces that are obsolete. 有关详细信息,请参阅 Windows Workflow Foundation 4.5 中弃用的类型。For more information, see Deprecated Types in Windows Workflow Foundation 4.5.
构造函数
| CorrelationToken() |
初始化 CorrelationToken 类的新实例。Initializes a new instance of the CorrelationToken class. |
| CorrelationToken(String) |
使用 CorrelationToken 的名称初始化 CorrelationToken 类的一个新实例。Initializes a new instance of the CorrelationToken class using the name of the CorrelationToken. |
属性
| DesignMode |
获取一个值,该值指示此实例是处于设计模式还是运行时模式。Gets the value that indicates whether this instance is in design or run-time mode. (继承自 DependencyObject) |
| Initialized |
获取一个值,该值指示是否初始化 CorrelationToken。Gets a value indicating whether the CorrelationToken is initialized. |
| Name |
获取或设置 CorrelationToken 的名称。Gets or sets the name of the CorrelationToken. |
| OwnerActivityName |
获取或设置拥有相关标记的 Activity 的名称。Gets or sets the name of the Activity that owns the correlation token. |
| ParentDependencyObject |
获取 DependencyObject 图中的父 DependencyObject。Gets the parent DependencyObject in the DependencyObject graph. (继承自 DependencyObject) |
| Properties |
获取 CorrelationProperty 中 CorrelationToken 对象的集合。Gets the collection of CorrelationProperty objects in the CorrelationToken. |
| Site |
获取或设置对 Site 的 DependencyObject 组件的引用。Gets or sets a reference to the Site component of the DependencyObject. (继承自 DependencyObject) |
| UserData |
获取一个 IDictionary,它将自定义数据与此类实例关联。Gets an IDictionary that associates custom data with this class instance. (继承自 DependencyObject) |
方法
显式接口实现
| IComponent.Disposed |
表示处理组件的“Disposed”事件的方法。Represents the method that handles the Disposed event of a component. (继承自 DependencyObject) |