共用方式為


SendReceiveExtension.Send 方法

定義

傳送指定的訊息。

public:
 abstract void Send(System::ServiceModel::Activities::MessageContext ^ message, System::ServiceModel::Activities::SendSettings ^ settings, System::Runtime::DurableInstancing::InstanceKey ^ correlatesWith, System::Activities::Bookmark ^ sendCompleteBookmark);
public abstract void Send (System.ServiceModel.Activities.MessageContext message, System.ServiceModel.Activities.SendSettings settings, System.Runtime.DurableInstancing.InstanceKey correlatesWith, System.Activities.Bookmark sendCompleteBookmark);
abstract member Send : System.ServiceModel.Activities.MessageContext * System.ServiceModel.Activities.SendSettings * System.Runtime.DurableInstancing.InstanceKey * System.Activities.Bookmark -> unit
Public MustOverride Sub Send (message As MessageContext, settings As SendSettings, correlatesWith As InstanceKey, sendCompleteBookmark As Bookmark)

參數

message
MessageContext

要傳送的訊息。

settings
SendSettings

傳送活動的設定。

correlatesWith
InstanceKey

活動的執行個體索引鍵,用來與訊息相互關聯。

sendCompleteBookmark
Bookmark

傳送活動等待傳送完成所在之處的書籤。

適用於