CorrelationToken CorrelationToken CorrelationToken CorrelationToken Class

定義

警告

此 API 現已淘汰。

管理 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
[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
Public NotInheritable Class CorrelationToken
Inherits DependencyObject
繼承
CorrelationTokenCorrelationTokenCorrelationTokenCorrelationToken
屬性

備註

注意

此資料討論已被汰換的類型及命名空間。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() CorrelationToken() CorrelationToken()

初始化 CorrelationToken 類別的新執行個體。Initializes a new instance of the CorrelationToken class.

CorrelationToken(String) CorrelationToken(String) CorrelationToken(String) CorrelationToken(String)

使用 CorrelationToken 的名稱,初始化 CorrelationToken 類別的新執行個體。Initializes a new instance of the CorrelationToken class using the name of the CorrelationToken.

屬性

DesignMode DesignMode DesignMode DesignMode

取得值,這個值會指出這個執行個體是在設計模式或執行階段模式中。Gets the value that indicates whether this instance is in design or run-time mode.

(Inherited from DependencyObject)
Initialized Initialized Initialized Initialized

取得值,指出是否已初始化 CorrelationTokenGets a value indicating whether the CorrelationToken is initialized.

Name Name Name Name

取得或設定 CorrelationToken 的名稱。Gets or sets the name of the CorrelationToken.

OwnerActivityName OwnerActivityName OwnerActivityName OwnerActivityName

取得或設定擁有相互關聯權杖之 Activity 的名稱。Gets or sets the name of the Activity that owns the correlation token.

ParentDependencyObject ParentDependencyObject ParentDependencyObject ParentDependencyObject

取得 DependencyObject 圖形中的父代 DependencyObjectGets the parent DependencyObject in the DependencyObject graph.

(Inherited from DependencyObject)
Properties Properties Properties Properties

取得 CorrelationProperty 中的 CorrelationToken 物件的集合。Gets the collection of CorrelationProperty objects in the CorrelationToken.

Site Site Site Site

取得或設定 SiteDependencyObject 元件的參考。Gets or sets a reference to the Site component of the DependencyObject.

(Inherited from DependencyObject)
UserData UserData UserData UserData

取得 IDictionary,它會將自訂資料與這個類別執行個體產生關聯。Gets an IDictionary that associates custom data with this class instance.

(Inherited from DependencyObject)

方法

AddHandler(DependencyProperty, Object) AddHandler(DependencyProperty, Object) AddHandler(DependencyProperty, Object) AddHandler(DependencyProperty, Object)

加入 DependencyObject之事件的處理常式。Adds a handler for an event of a DependencyObject.

(Inherited from DependencyObject)
Dispose() Dispose() Dispose() Dispose()

釋放 DependencyObject 使用的所有資源。Releases all the resources used by the DependencyObject.

(Inherited from DependencyObject)
Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

會釋放 Unmanaged 資源,並選擇性地釋放 DependencyObject 所使用的 Managed 資源。Releases the unmanaged resources and optionally releases the managed resources used by DependencyObject.

(Inherited from DependencyObject)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetBinding(DependencyProperty) GetBinding(DependencyProperty) GetBinding(DependencyProperty) GetBinding(DependencyProperty)

提供存取與特定 ActivityBind 相關聯的 DependencyPropertyProvides access to the ActivityBind associated with the specific DependencyProperty.

(Inherited from DependencyObject)
GetBoundValue(ActivityBind, Type) GetBoundValue(ActivityBind, Type) GetBoundValue(ActivityBind, Type) GetBoundValue(ActivityBind, Type)

擷取 Object,其為 ActivityBind 的主體。Retrieves the Object that is the subject of an ActivityBind.

(Inherited from DependencyObject)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetInvocationList<T>(DependencyProperty) GetInvocationList<T>(DependencyProperty) GetInvocationList<T>(DependencyProperty) GetInvocationList<T>(DependencyProperty)

取得陣列,這個陣列包含指定 DependencyProperty 的委派。Gets an array that contains the delegates for the specified DependencyProperty.

(Inherited from DependencyObject)
GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
GetValue(DependencyProperty) GetValue(DependencyProperty) GetValue(DependencyProperty) GetValue(DependencyProperty)

提供存取所指定 DependencyProperty 的值。Provides access to the value of the designated DependencyProperty.

(Inherited from DependencyObject)
GetValueBase(DependencyProperty) GetValueBase(DependencyProperty) GetValueBase(DependencyProperty) GetValueBase(DependencyProperty)

提供對 DependencyProperty 其繫結物件的存取,並略過 GetValue(DependencyProperty) 覆寫。Provides access to the bound object of a DependencyProperty and bypasses the GetValue(DependencyProperty) override.

(Inherited from DependencyObject)
Initialize(Activity, ICollection<CorrelationProperty>) Initialize(Activity, ICollection<CorrelationProperty>) Initialize(Activity, ICollection<CorrelationProperty>) Initialize(Activity, ICollection<CorrelationProperty>)

引發相互關聯已初始化的事件。Fires correlation initialized events.

InitializeProperties() InitializeProperties() InitializeProperties() InitializeProperties()

在衍生類別中覆寫時,在相依性屬性上執行初始化。Performs initialization on dependency properties when overridden in a derived class.

(Inherited from DependencyObject)
IsBindingSet(DependencyProperty) IsBindingSet(DependencyProperty) IsBindingSet(DependencyProperty) IsBindingSet(DependencyProperty)

指出 DependencyProperty 的值是否已設定為繫結。Indicates whether the value of a DependencyProperty is set as a binding. 請參閱 SetBinding(DependencyProperty, ActivityBind)See SetBinding(DependencyProperty, ActivityBind).

(Inherited from DependencyObject)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
MetaEquals(DependencyObject) MetaEquals(DependencyObject) MetaEquals(DependencyObject) MetaEquals(DependencyObject)

判斷這個 metapropertiesDependencyObjectmetaproperties是否相等於參數化 DependencyObject 的 。Determines whether the metaproperties of this DependencyObject equals the metaproperties of the parameterized DependencyObject.

(Inherited from DependencyObject)
RemoveHandler(DependencyProperty, Object) RemoveHandler(DependencyProperty, Object) RemoveHandler(DependencyProperty, Object) RemoveHandler(DependencyProperty, Object)

EventHandler 從相關聯的 DependencyProperty 移除。Removes an EventHandler from an associated DependencyProperty.

(Inherited from DependencyObject)
RemoveProperty(DependencyProperty) RemoveProperty(DependencyProperty) RemoveProperty(DependencyProperty) RemoveProperty(DependencyProperty)

DependencyPropertyDependencyObject 中移除。Removes a DependencyProperty from the DependencyObject.

(Inherited from DependencyObject)
SetBinding(DependencyProperty, ActivityBind) SetBinding(DependencyProperty, ActivityBind) SetBinding(DependencyProperty, ActivityBind) SetBinding(DependencyProperty, ActivityBind)

設定所指定 ActivityBindDependencyPropertySets the ActivityBind for the specified DependencyProperty.

(Inherited from DependencyObject)
SetBoundValue(ActivityBind, Object) SetBoundValue(ActivityBind, Object) SetBoundValue(ActivityBind, Object) SetBoundValue(ActivityBind, Object)

設定目標 ActivityBind 的值。Sets the value of the target ActivityBind.

(Inherited from DependencyObject)
SetReadOnlyPropertyValue(DependencyProperty, Object) SetReadOnlyPropertyValue(DependencyProperty, Object) SetReadOnlyPropertyValue(DependencyProperty, Object) SetReadOnlyPropertyValue(DependencyProperty, Object)

設定唯讀的 DependencyProperty 其值。Sets the value of a DependencyProperty, which is read-only.

(Inherited from DependencyObject)
SetValue(DependencyProperty, Object) SetValue(DependencyProperty, Object) SetValue(DependencyProperty, Object) SetValue(DependencyProperty, Object)

DependencyProperty 的值設定給物件。Sets the value of the DependencyProperty to the object.

(Inherited from DependencyObject)
SetValueBase(DependencyProperty, Object) SetValueBase(DependencyProperty, Object) SetValueBase(DependencyProperty, Object) SetValueBase(DependencyProperty, Object)

DependencyProperty 的值設定為指定的 Object,略過 SetValue(DependencyProperty, Object)Sets the value of the DependencyProperty to the specified Object, bypassing the SetValue(DependencyProperty, Object).

(Inherited from DependencyObject)
SubscribeForCorrelationTokenInitializedEvent(Activity, IActivityEventListener<CorrelationTokenEventArgs>) SubscribeForCorrelationTokenInitializedEvent(Activity, IActivityEventListener<CorrelationTokenEventArgs>) SubscribeForCorrelationTokenInitializedEvent(Activity, IActivityEventListener<CorrelationTokenEventArgs>) SubscribeForCorrelationTokenInitializedEvent(Activity, IActivityEventListener<CorrelationTokenEventArgs>)

向已初始化的事件訂閱 CorrelationTokenSubscribes the CorrelationToken to the initialized event.

ToString() ToString() ToString() ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(Inherited from Object)
UnsubscribeFromCorrelationTokenInitializedEvent(Activity, IActivityEventListener<CorrelationTokenEventArgs>) UnsubscribeFromCorrelationTokenInitializedEvent(Activity, IActivityEventListener<CorrelationTokenEventArgs>) UnsubscribeFromCorrelationTokenInitializedEvent(Activity, IActivityEventListener<CorrelationTokenEventArgs>) UnsubscribeFromCorrelationTokenInitializedEvent(Activity, IActivityEventListener<CorrelationTokenEventArgs>)

從已初始化的事件取消訂閱 CorrelationTokenUnsubscribes the CorrelationToken from the initialized event.

事件

IComponent.Disposed IComponent.Disposed IComponent.Disposed IComponent.Disposed

表示處理元件 Disposed 事件的方法。Represents the method that handles the Disposed event of a component.

(Inherited from DependencyObject)

適用於