Freigeben über


Legacy Workflow Activities

Windows Workflow Foundation (WF) includes a default set of activities that provide functionality for control flow, conditions, event handling, state management, and communicating with applications and services. When designing workflows, you can use the system-provided activities that are provided by the Windows Workflow Designer, or you can create your own custom activities.

The following table lists the Windows Workflow Foundation framework out-of-box activity set. Many, but not all, of these activities are represented by activity designers that can be accessed from the Toolbox of the Workflow-Designer. To create an activity, drag its designer from the Toolbox and drop it on the design surface.

Activity Description

CallExternalMethodActivity

Used with the HandleExternalEventActivity activity for input and output communications with a local service. Weitere Informationen finden Sie unter Using the CallExternalMethodActivity Activity.

CancellationHandlerActivity

Used to contain cleanup logic for a composite activity canceled before all the composite activity's children are finished executing. Weitere Informationen finden Sie unter Using the CancellationHandlerActivity Activity.

CodeActivity

Enables you to add Visual Basic or C# code to your workflow. Weitere Informationen finden Sie unter Using the CodeActivity Activity.

CompensatableSequenceActivity

A compensatable version of SequenceActivity. Weitere Informationen finden Sie unter Using the CompensatableSequenceActivity Activity.

CompensatableTransactionScopeActivity

A compensatable version of TransactionScopeActivity. Weitere Informationen finden Sie unter Using the CompensatableTransactionScopeActivity Activity.

CompensateActivity

Enables you to call code to undo or to compensate for operations already performed by the workflow when an error occurs. Weitere Informationen finden Sie unter Using the CompensateActivity Activity.

CompensationHandlerActivity

A wrapper for one or more activities that perform compensation for a completed TransactionScopeActivity activity Weitere Informationen finden Sie unter Using the CompensationHandlerActivity Activity.

ConditionedActivityGroup

Executes child activities based on a condition that applies to the ConditionedActivityGroup activity itself and based on conditions that apply separately to each child. Weitere Informationen finden Sie unter Using the ConditionedActivityGroup Activity.

DelayActivity

Enables you to build delays in your workflow that are based on a time-out interval. Weitere Informationen finden Sie unter Using the DelayActivity Activity.

EventDrivenActivity

Wraps one or more activities that are executed when a specified event occurs. Weitere Informationen finden Sie unter Using the EventDrivenActivity Activity.

EventHandlersActivity

Provides a framework for associating events with an activity. Weitere Informationen finden Sie unter Using the EventHandlersActivity Activity.

EventHandlingScopeActivity

Executes its main child activity concurrently with an EventHandlersActivity. Weitere Informationen finden Sie unter Using the EventHandlingScopeActivity Activity.

FaultHandlerActivity

Used to handle an exception of a type that you specify. Weitere Informationen finden Sie unter Using the FaultHandlerActivity Activity.

FaultHandlersActivity

Represents a composite activity that has an ordered list of child activities of type FaultHandlerActivity. Weitere Informationen finden Sie unter Using the FaultHandlersActivity Activity.

HandleExternalEventActivity

Used in conjunction with the CallExternalMethodActivity activity for input and output communications with a local service. Weitere Informationen finden Sie unter Using the HandleExternalEventActivity Activity.

IfElseActivity

Tests a condition on each branch and performs activities on the first branch for which the condition equals true. Weitere Informationen finden Sie unter Using the IfElseActivity Activity.

IfElseBranchActivity

Represents a branch of an IfElseActivity. Weitere Informationen finden Sie unter Using the IfElseBranchActivity Activity.

InvokeWebServiceActivity

Enables your workflow to invoke a Web service. Weitere Informationen finden Sie unter Using the InvokeWebServiceActivity Activity.

InvokeWorkflowActivity

Enables your workflow to invoke another workflow. Weitere Informationen finden Sie unter Using the InvokeWorkflowActivity Activity.

ListenActivity

A composite activity that contains only EventDrivenActivity child activities. Weitere Informationen finden Sie unter Using the ListenActivity Activity.

ParallelActivity

Provides a way to schedule two or more child SequenceActivity activity branches for processing at the same time. Weitere Informationen finden Sie unter Using the ParallelActivity Activity.

PolicyActivity

Use to represent a collection of rules. A rule consists of conditions and resulting actions. Weitere Informationen finden Sie unter Using the PolicyActivity Activity.

ReplicatorActivity

Creates multiple instances of a single child activity. Weitere Informationen finden Sie unter Using the ReplicatorActivity Activity.

SequenceActivity

Provides a simple way to link multiple activities together for sequential execution. Weitere Informationen finden Sie unter Using the SequenceActivity Activity.

SetStateActivity

Specifies a transition to a new state. Weitere Informationen finden Sie unter Using the SetStateActivity Activity.

StateActivity

Represents a state in a state machine workflow. Weitere Informationen finden Sie unter Using the StateActivity Activity.

StateFinalizationActivity

Used in a StateActivity activity as a container for child activities that are executed when leaving the StateActivity activity. Weitere Informationen finden Sie unter Using the StateFinalizationActivity Activity.

StateInitializationActivity

Used in a StateActivity activity as a container for child activities that are executed when entering the StateActivity activity. Weitere Informationen finden Sie unter Using the StateInitializationActivity Activity.

SuspendActivity

Suspends the operation of your workflow to enable intervention in the event of some error condition that requires special attention. Weitere Informationen finden Sie unter Using the SuspendActivity Activity.

SynchronizationScopeActivity

Executes contained activities sequentially in a synchronized domain. Weitere Informationen finden Sie unter Using the SynchronizationScopeActivity Activity.

TerminateActivity

Enables you to immediately end the operation of your workflow in the event of an error condition. Weitere Informationen finden Sie unter Using the TerminateActivity Activity.

ThrowActivity

Enables you to capture business exceptions thrown as part of the process metadata for a workflow. Weitere Informationen finden Sie unter Using the ThrowActivity Activity.

TransactionScopeActivity

Provides a framework for transactions and exception handling. For more information, see Using the TransactionScopeActivity Activity.

WebServiceFaultActivity

Enables you to model the occurrence of a Web service fault. Weitere Informationen finden Sie unter Using the WebServiceFaultActivity Activity.

WebServiceInputActivity

Receives data from a Web service. Weitere Informationen finden Sie unter Using the WebServiceInputActivity Activity.

WebServiceOutputActivity

Responds to a Web service request made to a workflow. Weitere Informationen finden Sie unter Using the WebServiceOutputActivity Activity.

WhileActivity

Enables your workflow to loop until a condition is met. Weitere Informationen finden Sie unter Using the WhileActivity Activity.

Weitere Informationen über how to create custom activities, see Developing Custom Activities and Using the Legacy Activity Designer.

In This Section

Siehe auch

Weitere Ressourcen

Windows Workflow Foundation Activities
Developing Workflows
Developing Workflow Activities