共用方式為


SendReply.Request 屬性

定義

取得或設定與這個 Receive 活動成對之 SendReply 活動的參考。

public:
 property System::ServiceModel::Activities::Receive ^ Request { System::ServiceModel::Activities::Receive ^ get(); void set(System::ServiceModel::Activities::Receive ^ value); };
public System.ServiceModel.Activities.Receive Request { get; set; }
member this.Request : System.ServiceModel.Activities.Receive with get, set
Public Property Request As Receive

屬性值

Receive

接收活動。

範例

下列範例將示範如何使用這個建構函式。

new SendReply
{                           
    Request = receiveString,                            
    Content = new SendParametersContent
    {
        Parameters =
        {
            { "echo", new InArgument<string>(echo) }
        },
    }
},

備註

這個屬性不可為 nullReceiveSendReply 活動會一起使用在服務端,以建立要求/回應傳訊模式的模型。 這個屬性會指定哪個 Receive 活動為成對的活動。

適用於