Permalink
Fetching contributors…
Cannot retrieve contributors at this time
55 lines (42 sloc) 3.58 KB
title ms.custom ms.date ms.prod ms.reviewer ms.suite ms.tgt_pltfrm ms.topic ms.assetid caps.latest.revision author ms.author manager
Designing and Implementing Custom Activities
03/30/2017
.net-framework
article
4e30e63d-6e33-4842-a7a4-ce807cef1fad
22
Erikre
erikre
erikre

Designing and Implementing Custom Activities

Custom activities in [!INCLUDEnetfx_current_long] are created by either assembling system-provided activities into composite activities or by creating new types that derive from xref:System.Activities.CodeActivity, xref:System.Activities.AsyncCodeActivity, or xref:System.Activities.NativeActivity. This section describes how to create custom activities with either method.

[!IMPORTANT] 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. [!INCLUDEcrdefault] Using Custom Activity Designers and Templates.

In This Section

Activity Authoring Options
Discusses the authoring styles available in [!INCLUDEnetfx_current_long].

Using a custom activity
Describes how to add a custom activity to a workflow project.

Creating Asynchronous Activities
Describes how to create asynchronous activities.

Configuring Activity Validation
Describes how activity validation can be used to identify and report errors in an activity’s configuration prior to its execution.

Creating an Activity at Runtime
Discusses how to create activities at runtime using xref:System.Activities.DynamicActivity.

Workflow Execution Properties
Describes how to use workflow execution properties to add context specific properties to an activity’s environment

Using Activity Delegates
Discusses how to author and use activities that contain activity delegates.

Activity Localization
Describes how to use localization of string resources in activities.

Using Activity Extensions
Describes how to author and use activity extensions.

Consuming OData Feeds from a Workflow
Describes several methods for calling a WCF Data Service from a workflow.

Activity Definition Scoping and Visibility
Describes the options and rules for defining data scoping and member visibility for activities.