This documentation is archived and is not being maintained.

Code-Bodied

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

This section contains custom activity samples created declaratively in code.

In This Section

Bookmarks
This sample demonstrates how to write a custom activity that creates a bookmark to receive external input.

Custom Composite using Native Activity
This sample demonstrates how to write a NativeActivity that schedules other Activity objects to control the flow of a workflow’s execution.

Execution Properties
This sample shows how to define and use an execution property in a custom activity.

Exposing and Invoking ActivityActions
This sample demonstrates how to develop a custom activity that has an ActivityAction.

Using AsyncOperationContext in an Activity Sample
This sample demonstrates how to develop a custom CodeActivity that uses AsyncOperationContext to perform work asynchronously outside of the workflow.

Hello World Custom Activity
This sample demonstrates several key features of Windows Workflow Foundation (WF), including how to create a simple custom activity.

Dynamic Arguments
This sample demonstrates how to implement an activity for which the arguments are defined by the activity consumer rather than the activity author.




Build Date: 2012-03-02
Show: