SendReceiveExtension.RegisterReceive Method (ReceiveSettings, InstanceKey, Bookmark)

.NET Framework (current version)
 

Registers the received message activity.

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

public void RegisterReceive(
	ReceiveSettings settings,
	InstanceKey correlatesWith,
	Bookmark receiveBookmark
)

Parameters

settings
Type: System.ServiceModel.Activities.ReceiveSettings

The settings for the receive activity.

correlatesWith
Type: System.Runtime.DurableInstancing.InstanceKey

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

receiveBookmark
Type: System.Activities.Bookmark

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

.NET Framework
Available since 4.5
Return to top
Show: