ContextToken ContextToken ContextToken ContextToken Class

定義

警告

此 API 現已淘汰。

代表一個權杖,可用來指定內容,應使用此內容來將 ReceiveActivity 活動與該活動所通訊的用戶端之間的交換相互關聯。Represents a token that can be used to specify the context that should be used to correlate the exchange between a ReceiveActivity activity and the client that the activity is communicating with.

public ref class ContextToken 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 ContextToken : System.Workflow.ComponentModel.DependencyObject
type ContextToken = class
    inherit DependencyObject
Public NotInheritable Class ContextToken
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.

建構函式

ContextToken() ContextToken() ContextToken() ContextToken()

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

ContextToken(String) ContextToken(String) ContextToken(String) ContextToken(String)

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

欄位

RootContextName RootContextName RootContextName RootContextName

代表根內容的常數字串。A constant string that represents the root context. 這個字串的值是 "(RootContext)"。The value of this string is "(RootContext)".

屬性

DesignMode DesignMode DesignMode DesignMode

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

(Inherited from DependencyObject)
Name Name Name Name

取得或設定這個執行個體的名稱。Gets or sets the name of this instance.

OwnerActivityName OwnerActivityName OwnerActivityName OwnerActivityName

取得或設定此內容權杖相關聯之 Activity 的名稱。Gets or sets the name of the Activity associated with this context token.

ParentDependencyObject ParentDependencyObject ParentDependencyObject ParentDependencyObject

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

(Inherited from DependencyObject)
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)
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)
ToString() ToString() ToString() ToString()

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

(Inherited from Object)

事件

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

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

(Inherited from DependencyObject)

適用於