CorrelationMessageProperty Constructors

Definition

Initializes a new instance of the CorrelationMessageProperty class.

Overloads

CorrelationMessageProperty(InstanceKey, IEnumerable<InstanceKey>)

Initializes a new instance of the CorrelationMessageProperty class using the specified correlation keys.

C#
public CorrelationMessageProperty(System.Runtime.DurableInstancing.InstanceKey correlationKey, System.Collections.Generic.IEnumerable<System.Runtime.DurableInstancing.InstanceKey> additionalKeys);

Parameters

correlationKey
InstanceKey

The instance key for the primary correlation.

additionalKeys
IEnumerable<InstanceKey>

Instance keys for additional correlations.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

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

Initializes a new instance of the CorrelationMessageProperty class.

C#
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);

Parameters

correlationKey
InstanceKey

The correlation key.

additionalKeys
IEnumerable<InstanceKey>

The additional keys.

transientCorrelations
IEnumerable<InstanceKey>

The transient correlations.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1