語言

CorrelationMessageProperty 建構函式

定義

初始化 CorrelationMessageProperty 類別的新執行個體。

多載

CorrelationMessageProperty(InstanceKey, IEnumerable<InstanceKey>)

使用指定的相關鍵初始化該類別的新實例 CorrelationMessageProperty 。

public:
 CorrelationMessageProperty(System::Runtime::DurableInstancing::InstanceKey ^ correlationKey, System::Collections::Generic::IEnumerable<System::Runtime::DurableInstancing::InstanceKey ^> ^ additionalKeys);
public CorrelationMessageProperty(System.Runtime.DurableInstancing.InstanceKey correlationKey, System.Collections.Generic.IEnumerable<System.Runtime.DurableInstancing.InstanceKey> additionalKeys);
new System.ServiceModel.Channels.CorrelationMessageProperty : System.Runtime.DurableInstancing.InstanceKey * seq<System.Runtime.DurableInstancing.InstanceKey> -> System.ServiceModel.Channels.CorrelationMessageProperty
Public Sub New (correlationKey As InstanceKey, additionalKeys As IEnumerable(Of InstanceKey))

參數

correlationKey
InstanceKey

主要相關性的實例鑰匙。

additionalKeys
IEnumerable<InstanceKey>

實例鍵以提供額外相關性。

適用於

CorrelationMessageProperty(InstanceKey, IEnumerable<InstanceKey>, IEnumerable<InstanceKey>)

初始化 CorrelationMessageProperty 類別的新執行個體。

public:
 CorrelationMessageProperty(System::Runtime::DurableInstancing::InstanceKey ^ correlationKey, System::Collections::Generic::IEnumerable<System::Runtime::DurableInstancing::InstanceKey ^> ^ additionalKeys, System::Collections::Generic::IEnumerable<System::Runtime::DurableInstancing::InstanceKey ^> ^ transientCorrelations);
public CorrelationMessageProperty(System.Runtime.DurableInstancing.InstanceKey correlationKey, System.Collections.Generic.IEnumerable<System.Runtime.DurableInstancing.InstanceKey> additionalKeys, System.Collections.Generic.IEnumerable<System.Runtime.DurableInstancing.InstanceKey> transientCorrelations);
new System.ServiceModel.Channels.CorrelationMessageProperty : System.Runtime.DurableInstancing.InstanceKey * seq<System.Runtime.DurableInstancing.InstanceKey> * seq<System.Runtime.DurableInstancing.InstanceKey> -> System.ServiceModel.Channels.CorrelationMessageProperty
Public Sub New (correlationKey As InstanceKey, additionalKeys As IEnumerable(Of InstanceKey), transientCorrelations As IEnumerable(Of InstanceKey))

參數

correlationKey
InstanceKey

相關性鑰匙。

additionalKeys
IEnumerable<InstanceKey>

額外的鑰匙。

transientCorrelations
IEnumerable<InstanceKey>

暫時相關性。

適用於