This topic has not yet been rated - Rate this topic

CorrelationToken Class

Manages the subscriptions of the CorrelationProperty to the owner activities. This class cannot be inherited.

System.Object
  System.Workflow.ComponentModel.DependencyObject
    System.Workflow.Runtime.CorrelationToken

Namespace:  System.Workflow.Runtime
Assembly:  System.Workflow.Runtime (in System.Workflow.Runtime.dll)
public sealed class CorrelationToken : DependencyObject

The CorrelationToken type exposes the following members.

  Name Description
Public method CorrelationToken() Initializes a new instance of the CorrelationToken class.
Public method CorrelationToken(String) Initializes a new instance of the CorrelationToken class using the name of the CorrelationToken.
Top
  Name Description
Protected property DesignMode Gets the value that indicates whether this instance is in design or run-time mode. (Inherited from DependencyObject.)
Public property Initialized Gets a value indicating whether the CorrelationToken is initialized.
Public property Name Gets or sets the name of the CorrelationToken.
Public property OwnerActivityName Gets or sets the name of the Activity that owns the correlation token.
Protected property ParentDependencyObject Gets the parent DependencyObject in the DependencyObject graph. (Inherited from DependencyObject.)
Public property Properties Gets the collection of CorrelationProperty objects in the CorrelationToken.
Public property Site Gets or sets a reference to the Site component of the DependencyObject. (Inherited from DependencyObject.)
Public property UserData Gets an IDictionary that associates custom data with this class instance. (Inherited from DependencyObject.)
Top
  Name Description
Public method AddHandler Adds a handler for an event of a DependencyObject. (Inherited from DependencyObject.)
Public method Dispose() Releases all the resources used by the DependencyObject. (Inherited from DependencyObject.)
Protected method Dispose(Boolean) Releases the unmanaged resources and optionally releases the managed resources used by DependencyObject. (Inherited from DependencyObject.)
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Provided as an override to Object.Finalize to clean up any unmanaged resources deterministically. (Inherited from DependencyObject.)
Public method GetBinding Provides access to the ActivityBind associated with the specific DependencyProperty. (Inherited from DependencyObject.)
Protected method GetBoundValue Retrieves the Object that is the subject of an ActivityBind. (Inherited from DependencyObject.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected method GetInvocationList<T> Gets an array that contains the delegates for the specified DependencyProperty. (Inherited from DependencyObject.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetValue Provides access to the value of the designated DependencyProperty. (Inherited from DependencyObject.)
Public method GetValueBase Provides access to the bound object of a DependencyProperty and bypasses the GetValue override. (Inherited from DependencyObject.)
Public method Initialize Fires correlation initialized events.
Protected method InitializeProperties Performs initialization on dependency properties when overridden in a derived class. (Inherited from DependencyObject.)
Public method IsBindingSet Indicates whether the value of a DependencyProperty is set as a binding. See SetBinding. (Inherited from DependencyObject.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method MetaEquals Determines whether the metaproperties of this DependencyObject equals the metaproperties of the parameterized DependencyObject. (Inherited from DependencyObject.)
Public method RemoveHandler Removes an EventHandler from an associated DependencyProperty. (Inherited from DependencyObject.)
Public method RemoveProperty Removes a DependencyProperty from the DependencyObject. (Inherited from DependencyObject.)
Public method SetBinding Sets the ActivityBind for the specified DependencyProperty. (Inherited from DependencyObject.)
Protected method SetBoundValue Sets the value of the target ActivityBind. (Inherited from DependencyObject.)
Protected method SetReadOnlyPropertyValue Sets the value of a DependencyProperty, which is read-only. (Inherited from DependencyObject.)
Public method SetValue Sets the value of the DependencyProperty to the object. (Inherited from DependencyObject.)
Public method SetValueBase Sets the value of the DependencyProperty to the specified Object, bypassing the SetValue. (Inherited from DependencyObject.)
Public method SubscribeForCorrelationTokenInitializedEvent Subscribes the CorrelationToken to the initialized event.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method UnsubscribeFromCorrelationTokenInitializedEvent Unsubscribes the CorrelationToken from the initialized event.
Top
  Name Description
Explicit interface implemetation Private event IComponent.Disposed Represents the method that handles the Disposed event of a component. (Inherited from DependencyObject.)
Top

.NET Framework

Supported in: 4, 3.5, 3.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ