QueryCorrelationInitializer::MessageQuerySet Property

.NET Framework (current version)
 

Gets or sets the MessageQuerySet that is used to perform the CorrelationKey calculation.

Namespace:   System.ServiceModel.Activities
Assembly:  System.ServiceModel.Activities (in System.ServiceModel.Activities.dll)

public:
property MessageQuerySet^ MessageQuerySet {
	MessageQuerySet^ get();
	void set(MessageQuerySet^ value);
}

Property Value

Type: System.ServiceModel::MessageQuerySet^

The MessageQuerySet that is used to perform the CorrelationKey calculation.

The following example shows how to use the MessageQuerySet property.

MessageQuerySet GetOrderQuerySet = new MessageQuerySet
{
    {
        "OrderID", 
        new XPathMessageQuery("//psns:Order/psns:OrderID",pathContext)
    }
};
new QueryCorrelationInitializer
{
    CorrelationHandle = orderHandle,
    MessageQuerySet = GetOrderQuerySet
}

.NET Framework
Available since 4.0
Return to top
Show: