CorrelationToken::Initialize Method (Activity^, ICollection<CorrelationProperty^>^)

 

Fires correlation initialized events.

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

public:
void Initialize(
	Activity^ activity,
	ICollection<CorrelationProperty^>^ propertyValues
)

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.

Exception Condition
InvalidOperationException

CorrelationToken was already initialized.

.NET Framework
Available since 3.0
Return to top
Show: