共用方式為


SendReceiveExtension.RegisterReceive 方法

定義

註冊接收到的訊息活動。

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

接收活動等待接收訊息所在之處的書籤。

適用於