CorrelationToken.Name Property (System.Workflow.Runtime)

Switch View :
ScriptFree
.NET Framework Class Library
CorrelationToken.Name Property

Gets or sets the name of the CorrelationToken.

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

Visual Basic
<BrowsableAttribute(False)> _
Public Property Name As String
	Get
	Set
C#
[BrowsableAttribute(false)]
public string Name { get; set; }
Visual C++
[BrowsableAttribute(false)]
public:
property String^ Name {
	String^ get ();
	void set (String^ value);
}
F#
[<BrowsableAttribute(false)>]
member Name : string with get, set

Property Value

Type: System.String
The name of the CorrelationToken.
Examples

The following example demonstrates accessing the Name property of a correlation token object. This example is from the Correlated Local Service SDK sample, from the CorrelatedLocalServiceWorkflow.designer.cs file. For more information, see Correlated Local Service Sample.

Visual Basic

correlationtoken1.Name = "c2"


C#

correlationtoken1.Name = "c2";


Version Information

.NET Framework

Supported in: 4, 3.5, 3.0
.NET Framework Security

Platforms

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.
See Also

Reference