Represents a name and value pair used to correlate messages to specific receiving activities.
Assembly: System.Workflow.Runtime (in System.Workflow.Runtime.dll)
classes are defined as ActivityBind properties of Workflow Connection Service activities. By default, these properties are bound to variables declared at the root workflow activity. For dynamic activities such as ReplicatorActivity and ConditionedActivityGroup each of its children cannot share a universal object. Consider the scenario where each task inside a ReplicatorActivity has to manage its own conversation. The child activities inside the ReplicatorActivity requires a instance unique per execution context, or per task. In order to accomplish this, you have to define a custom activity that has a instance property and the Workflow Connection Services activities have to bind to this property.
The following example demonstrates creating a correlation property object, and accessing the Name and Value properties.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.