Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft