CorrelationToken Class (System.Workflow.Runtime)

Switch View :
ScriptFree
.NET Framework Class Library
CorrelationToken Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Note: This API is now obsolete.

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

Inheritance Hierarchy

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

Namespace:  System.Workflow.Runtime
Assembly:  System.Workflow.Runtime (in System.Workflow.Runtime.dll)
Syntax

Visual Basic
<ObsoleteAttribute("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")> _
Public NotInheritable Class CorrelationToken _
	Inherits DependencyObject
C#
[ObsoleteAttribute("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class CorrelationToken : DependencyObject
Visual C++
[ObsoleteAttribute(L"The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public ref class CorrelationToken sealed : public DependencyObject
F#
[<Sealed>]
[<ObsoleteAttribute("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type CorrelationToken =  
    class
        inherit DependencyObject
    end

The CorrelationToken type exposes the following members.

Constructors

  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
Properties

  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
Methods

  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
Explicit Interface Implementations

  Name Description
Explicit interface implemetation Private event IComponent.Disposed Represents the method that handles the Disposed event of a component. (Inherited from DependencyObject.)
Top
Version Information

.NET Framework

Supported in: 4, 3.5, 3.0
Obsolete (compiler warning) in 4.5
Platforms

Windows 8 Consumer Preview, Windows Server 8 Beta, Windows 7, Windows Server 2008 SP2, Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also

Reference