Add CorrelationInitializers Dialog Box
The Add Correlation Initializers dialog box is used in Windows Workflow Designer to configure the CorrelationInitializers properties of the Send, Receive, SendReply, and ReceiveReply activities. For more information about the activity designers that use this box, see the Send Activity Designer, Receive Activity Designer, ReceiveAndSendReply Template Designer, and SendAndReceiveReply Template Designer topics.
The correlation initializers in the collection specified with this dialog box can initialize query-based, context, callback context, or request-reply correlations between the messaging activities.
The following table describes the user interface (UI) elements of the Add Correlation Initializers dialog box.
Click the Add initialize box to add an additional initializer to the collection.
Specifies the type of correlation initializer. There are four types to choose from:
To edit the CorrelationType
A key/value pair that contains the queries used to extract correlation data from incoming and outgoing messages. This list is only valid when using QueryCorrelationInitializer types.
To launch the Add Correlation Initializers dialog box
The Add Correlation Initializers dialog box is used by the Send, Receive, ReceiveAndSendReply, and SendAndReceiveReply designers. Accessing them is similar in each case and the case that involves the Receive designer is use here to illustrate the procedure.
The Receive activity designer can be dragged from the Toolbox and dropped on to the Workflow Designer surface wherever activities are usually placed. This creates a Receive activity with a default DisplayName of Receive. Select the Receive activity designer and click the ellipsis button next to the (Collection) text for the CorrelationInitializers property in the property grid for the Add Correlation Initializers dialog box to appear.