Export (0) Print
Expand All

SendReply.Request Property

Gets or sets a reference to the Receive activity paired with this SendReply activity.

Namespace:  System.ServiceModel.Activities
Assembly:  System.ServiceModel.Activities (in System.ServiceModel.Activities.dll)

public Receive Request { get; set; }

Property Value

Type: System.ServiceModel.Activities.Receive
A receive activity.

This property must not be null. Receive and SendReply activities are used together on the service side to model a request/response messaging pattern. This property specifies which Receive activity is paired.

The following example shows how to use this constructor.

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

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft