Bookmarks

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

This sample demonstrates how to write a custom activity that creates a bookmark to receive external input. The sample also includes a basic console application that uses the custom activity in a workflow and shows how to discover and resume bookmarks associated with a running workflow instance. For more information about bookmarks, see Bookmarks.

To set up, build, and run the sample

  1. Open the Bookmarks.sln sample solution in Visual Studio 2010.

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

  3. To run the sample, press CTRLl + F5.

Dd744843.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\CustomActivities\CodeBodied\Bookmarks