Using Interop with External Data Exchange

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

The Interop activity can be used to execute activities from Windows Workflow Foundation (WF) in .NET Framework 3.0 and .NET Framework version 3.5 (WF3), and workflows within Windows Workflow Foundation in .NET Framework version 4 (WF4). This sample shows how to configure and run a WF3 workflow that uses ExternalDataExchangeService (and corresponding custom activities for calling methods and handling events) by using the Interop activity in a WF4 workflow service.

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

<InstallDrive>:\WF_WCF_Samples

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.

<InstallDrive>:\WF_WCF_Samples\WF\Basic\Migration\ExternalDataExchange

To use this sample

  1. Open the ExternalDataExchange.sln file in Visual Studio 2010.

  2. To build the sample, press CTRL+SHIFT+B.

  3. To run the sample, press F5.