Designing and Implementing Custom Activities

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

Custom activities in .NET Framework version 4 are created by either assembling system-provided activities into composite activities or by creating new types that derive from CodeActivity, AsyncCodeActivity, or NativeActivity. This section describes how to create custom activities with either method.

Dd489425.Important(en-us,VS.100).gif Note:
Custom activities by default display within the workflow designer as a simple rectangle with the activity’s name. To provide a custom visual representation of your activity in the workflow designer you must also create a custom designer. For more information, see Using Custom Activity Designers and Templates.

In This Section

  • Configuring Activity Validation
    Describes how activity validation can be used to identify and report errors in an activity’s configuration prior to its execution.
  • Workflow Execution Properties
    Describes how to use workflow execution properties to add context specific properties to an activity’s environment