SendReceiveExtension.RegisterReceive Method

Definition

Registers the received message activity.

public:
 void RegisterReceive(System::ServiceModel::Activities::ReceiveSettings ^ settings, System::Runtime::DurableInstancing::InstanceKey ^ correlatesWith, System::Activities::Bookmark ^ receiveBookmark);
public void RegisterReceive (System.ServiceModel.Activities.ReceiveSettings settings, System.Runtime.DurableInstancing.InstanceKey correlatesWith, System.Activities.Bookmark receiveBookmark);
member this.RegisterReceive : System.ServiceModel.Activities.ReceiveSettings * System.Runtime.DurableInstancing.InstanceKey * System.Activities.Bookmark -> unit
Public Sub RegisterReceive (settings As ReceiveSettings, correlatesWith As InstanceKey, receiveBookmark As Bookmark)

Parameters

settings
ReceiveSettings

The settings for the receive activity.

correlatesWith
InstanceKey

An instance key of the activity used to correlate with the message.

receiveBookmark
Bookmark

A bookmark at which the receive activity waits to receive a message.

Applies to