CorrelationToken.Initialize Method (System.Workflow.Runtime)

Switch View :
ScriptFree
.NET Framework Class Library
CorrelationToken.Initialize Method

Fires correlation initialized events.

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

Visual Basic
Public Sub Initialize ( _
	activity As Activity, _
	propertyValues As ICollection(Of CorrelationProperty) _
)
C#
public void Initialize(
	Activity activity,
	ICollection<CorrelationProperty> propertyValues
)
Visual C++
public:
void Initialize(
	Activity^ activity, 
	ICollection<CorrelationProperty^>^ propertyValues
)
F#
member Initialize : 
        activity:Activity * 
        propertyValues:ICollection<CorrelationProperty> -> unit 

Parameters

activity
Type: System.Workflow.ComponentModel.Activity
The name of the Activity that owns the correlation token.
propertyValues
Type: System.Collections.Generic.ICollection<CorrelationProperty>
A collection of property values in the CorrelationToken.
Exceptions

Exception Condition
InvalidOperationException

CorrelationToken was already initialized.

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