Editare

Partajați prin


CorrelationToken.Initialize Method

Definition

Fires correlation initialized events.

public:
 void Initialize(System::Workflow::ComponentModel::Activity ^ activity, System::Collections::Generic::ICollection<System::Workflow::Runtime::CorrelationProperty ^> ^ propertyValues);
public void Initialize (System.Workflow.ComponentModel.Activity activity, System.Collections.Generic.ICollection<System.Workflow.Runtime.CorrelationProperty> propertyValues);
member this.Initialize : System.Workflow.ComponentModel.Activity * System.Collections.Generic.ICollection<System.Workflow.Runtime.CorrelationProperty> -> unit
Public Sub Initialize (activity As Activity, propertyValues As ICollection(Of CorrelationProperty))

Parameters

activity
Activity

The name of the Activity that owns the correlation token.

propertyValues
ICollection<CorrelationProperty>

A collection of property values in the CorrelationToken.

Exceptions

CorrelationToken was already initialized.

Applies to