SendReceiveExtension.RegisterReceive 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
註冊接收到的訊息活動。
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)
參數
- settings
- ReceiveSettings
接收活動的設定。
- correlatesWith
- InstanceKey
活動的執行個體索引鍵,用來與訊息相互關聯。
- receiveBookmark
- Bookmark
接收活動等待接收訊息所在之處的書籤。