CorrelationQuery Class
TOC
Collapse the table of content
Expand the table of content

CorrelationQuery Class

.NET Framework (current version)
 

Represents a Where clause and a Select clause that identify the unique characteristics of a message so that it can be routed to the correct instance.

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

System.Object
  System.ServiceModel.CorrelationQuery

public class CorrelationQuery

NameDescription
System_CAPS_pubmethodCorrelationQuery()

Initializes a new instance of the CorrelationQuery class.

NameDescription
System_CAPS_pubpropertySelect

Gets or sets the MessageQuerySet that contains the elements in the message that compose the instance key that uniquely identifies the message.

System_CAPS_pubpropertySelectAdditional

Gets a collection of clauses, each of which defines the set of elements in the message that make up an associated key.

System_CAPS_pubpropertyWhere

Gets or sets the MessageFilter that defines the set of messages for which this query applies.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the current CorrelationQuery is equal to the specified object.(Overrides Object.Equals(Object).)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Returns the hash code for the current CorrelationQuery.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

A CorrelationQuery is a set of queries that are run on an incoming or outgoing message to generate a set of instance keys. An InstanceKey represents an association between the data selected from the query and a particular service instance.

The Where clause allows the user to filter the set of messages that this CorrelationQuery runs on. The Select clause represents the query set used to uniquely identify the service instance for which an incoming message should be dispatched. The SelectAdditional clauses are a set of query sets that represent new instance keys that must be created to associate that data with the service instance.

.NET Framework
Available since 4.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft