Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This topic applies to Windows Workflow Foundation 4 (WF4).
The Interop activity allows you to run a .NET Framework 3.0 Windows Workflow Foundation (WF) activity within a .NET Framework 4 workflow. This sample demonstrates how to use the Interop activity to pass a string as an argument to a custom .NET Framework 3.0 activity.
To use this sample
Using Visual Studio 2010, open the SimpleInterop.sln solution file.
To build the solution, press CTRL+SHIFT+B.
To run the solution, press CTRL+F5.
![]() |
---|
The samples may already be installed on your machine. 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\SimpleInterop
|