Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

CorrelationScope

This activity provides implicit CorrelationHandle management for child messaging activities.

Activity Parameters

The CorrelationScope activity has one parameter and it can be provided by manually inserted values or via IN arguments or variables:

...

  • CorrelatesWith (text box editor type) (type: CorrelationHandle): Specifies the CorrelationHandle used to manage child messaging activities. If you do not set this property, CorrelationScope creates an implicit CorrelationHandle automatically.

 

InitializeCorrelation

This activity is used to initialize correlations without sending or receiving a message. Typically correlation is initialized when sending or receiving a message. If correlation must be established before a message is sent or received, use InitializeCorrelation to initialize the correlation.

Activity Parameters

The InitializeCorrelation activity has three parameters (including DisplayName) that can be provided by manually inserted values or via IN arguments or variables:

Parameters:

  • Correlation (text box editor type) (type: CorrelationHandle): The CorrelationHandle used to associate workflow activities in the correlation.
  • CorellationData (collection editor type) (type: Collection): A dictionary of correlation data that relates messages to the workflow instance.

 

Receive

This activity is an activity that receives a message that can be either a built-in type such as Message, Stream or XElement, or an application-defined data contract, message contract, or XML class that can be serialized.

Activity Parameters

The Receive activity has parameters that can be provided by manually inserted values or via IN arguments or variables:

Parameters:

  • CorrelatesOn (collection editor type) (type: Collection): Specifies the correlations between Receive activities in service operations of a workflow with a MessageQuerySet object.
  • CorrelatesWith (text box editor type) (type: CorrelationHandle): Specifies the CorrelationHandle used to route the message to the appropriate workflow instance. Click the ellipsis button next to the CorrelatesWith property in the properties grid to open the Expression Editor dialog box.
  • CorrelationInitializers (collection editor type) (type: Collection):
  • Content () ():
  • OperationName (text box editor type) (type: String):
  • ServiceContractName (text box editor type) (type: String):
  • Action (text box editor type) (type: String):
  • CanCreateInstalce (checkbox control type) (type: boolean):
  • KnownTypes (collection editor type) (type: collection):
  • ProtectionLevel(combobox control type) (type: string):
  • SerializerOption (combobox control type) (type: string):