SendReceiveExtension.OnRegisterReceive 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
调用“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
该接收活动等待接收消息的书签。