CorrelationMessageProperty 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 CorrelationMessageProperty 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| CorrelationMessageProperty(InstanceKey, IEnumerable<InstanceKey>) |
使用指定的相關鍵初始化該類別的新實例 CorrelationMessageProperty 。 |
| CorrelationMessageProperty(InstanceKey, IEnumerable<InstanceKey>, IEnumerable<InstanceKey>) |
初始化 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>
暫時相關性。