SendReceiveExtension.OnRegisterReceive 方法

定义

调用“RegisterReceive”方法时使用

protected:
 abstract void OnRegisterReceive(System::ServiceModel::Activities::ReceiveSettings ^ settings, System::Runtime::DurableInstancing::InstanceKey ^ correlatesWith, System::Activities::Bookmark ^ receiveBookmark);
protected abstract void OnRegisterReceive (System.ServiceModel.Activities.ReceiveSettings settings, System.Runtime.DurableInstancing.InstanceKey correlatesWith, System.Activities.Bookmark receiveBookmark);
abstract member OnRegisterReceive : System.ServiceModel.Activities.ReceiveSettings * System.Runtime.DurableInstancing.InstanceKey * System.Activities.Bookmark -> unit
Protected MustOverride Sub OnRegisterReceive (settings As ReceiveSettings, correlatesWith As InstanceKey, receiveBookmark As Bookmark)

参数

settings
ReceiveSettings

接受事件的设置。

correlatesWith
InstanceKey

用于与消息关联的活动的实例键。

receiveBookmark
Bookmark

该接收活动等待接收消息的书签。

适用于