共用方式為


CorrelationToken.Initialize 方法

定義

引發相互關聯已初始化的事件。

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))

參數

activity
Activity

擁有相互關聯權杖之 Activity 的名稱。

propertyValues
ICollection<CorrelationProperty>

CorrelationToken 中的屬性值集合。

例外狀況

適用於