Send.CorrelatesWith Property

Definition

Gets or sets a correlation handle that is used to route the message to the appropriate workflow instance.

public:
 property System::Activities::InArgument<System::ServiceModel::Activities::CorrelationHandle ^> ^ CorrelatesWith { System::Activities::InArgument<System::ServiceModel::Activities::CorrelationHandle ^> ^ get(); void set(System::Activities::InArgument<System::ServiceModel::Activities::CorrelationHandle ^> ^ value); };
public System.Activities.InArgument<System.ServiceModel.Activities.CorrelationHandle> CorrelatesWith { get; set; }
member this.CorrelatesWith : System.Activities.InArgument<System.ServiceModel.Activities.CorrelationHandle> with get, set
Public Property CorrelatesWith As InArgument(Of CorrelationHandle)

Property Value

The correlation handle.

Remarks

When implementing the request/reply message exchange pattern, it must be set to the same correlation handle as the corresponding ReceiveReply activity.

Applies to