This documentation is archived and is not being maintained.

Basic Usage of SendParameters and ReceiveParameters Activities

This topic applies to Windows Workflow Foundation 4 (WF4).

This sample shows the use of SendParametersContent and ReceiveParametersContent activities. The service exposes one operation that takes a string argument and echoes the input back to the client. The sample shows how to set up the parameters for these messaging activities.

Dd807376.Important(en-us,VS.100).gif Note:
The samples may already be installed on your machine. Check for the following (default) directory before continuing.


If this directory does not exist, go to Windows Communication Foundation (WCF) and Windows Workflow Foundation (WF) Samples for .NET Framework 4 to download all Windows Communication Foundation (WCF) and WF samples. This sample is located in the following directory.


Using this sample

  1. Load the project solution in Visual Studio 2010 and build the project.

  2. First run the EchoWorkflowService application generated in [solution base directory]\EchoWorkflowService\bin\debug.

  3. Second, run the EchoWorkflowClient application generated in [solution base directory]\EchoWorkflowClient\bin\debug.

  4. The client calls Echo operation on the service and prints the results. When complete, press ENTER to exit the client and then the service.