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

一个 Receive 活动。

示例

下面的示例演示如何使用此构造函数。

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

注解

此属性不得为 nullReceiveSendReply 活动一起使用在服务端来建模请求/响应消息传送模式。 此属性指定配对的 Receive 活动。

适用于