System.Workflow.Activities Namespace

Provides classes related to Windows Workflow Foundation activities.

Classes

ActiveDirectoryRole

Represents an Active Directory role in a Windows Workflow Foundation hosting environment. This class cannot be inherited.

ActiveDirectoryRoleFactory

A factory class for creating ActiveDirectoryRole objects from Windows NT aliases, email addresses, and security identifiers (SIDs).

CallExternalMethodActivity

Defines a workflow communication activity that is used to call a method on a local service. This activity is used to send data from the workflow to the host through the local service.

CallExternalMethodActivityValidator

Verifies that the CallExternalMethodActivity class is configured correctly.

ChannelToken

Used by a SendActivity to associate itself with a client-side channel.

CodeActivity

Runs the code-beside method associated with an activity. This class cannot be inherited.

CodeCondition

Defines a condition that guards/drives the execution of a certain activity within a workflow definition. It has an event of type ConditionalEventArgs to return the result of the condition.

CompensatableSequenceActivity

Defines a compensatable version of the SequenceActivity activity. This class cannot be inherited.

ConditionalEventArgs

Returns result information for the CodeCondition class. This class cannot be inherited.

ConditionedActivityGroup

Provides the definition of a constraint-based execution context for a set of child activities.

ContextToken

Represents a token that can be used to specify the context that should be used to correlate the exchange between a ReceiveActivity activity and the client that the activity is communicating with.

CorrelationAliasAttribute

Overrides the correlation parameter value when the correlation value must be obtained from a parameter other than that indicated by the CorrelationParameterAttribute. This class cannot be inherited.

CorrelationInitializerAttribute

Indicates the method or event on an ExternalDataExchange interface that initializes the correlation value. This class cannot be inherited.

CorrelationParameterAttribute

Indicates the name of the parameter used for correlation in the methods and events defined on an ExternalDataExchange interface. This class cannot be inherited.

DelayActivity

Provides the logic to establish a timer and to wait, asynchronously, for timer's expiration. This class cannot be inherited.

EventDeliveryFailedException

The exception that is thrown when an event that is raised from the host cannot be delivered to the workflow instance. Typically the event is raised from an ExternalDataExchangeService on a workflow instance. This class cannot be inherited.

EventDrivenActivity

Wraps an Activity whose execution is initialized by an event. This class cannot be inherited.

EventHandlersActivity

A composite activity that contains a collection of event handlers. It is typically used where a collection of events must be handled. Each event is handled by one EventDrivenActivity, which is part of EventHandlersActivity.

EventHandlingScopeActivity

Enables event handling with the execution of the child activities. This class cannot be inherited.

EventQueueName

Represents the name of a queue associated with an event on a WorkflowInstance. This class cannot be inherited.

ExternalDataEventArgs

Represents the data sent when an event is raised using the HandleExternalEventActivity activity.

ExternalDataExchangeAttribute

Marks an interface as a local service interface. This class cannot be inherited.

ExternalDataExchangeService

Represents a service that must be added to the workflow run-time engine for local services communications to be enabled. Local service implementations are required to be added to the ExternalDataExchangeService for these services to be properly initialized and registered.

ExternalDataExchangeServiceSection

Represents a configuration section that allows you to specify, in a configuration file, a set of services to be added to an instance of ExternalDataExchangeService.

HandleExternalEventActivity

Defines a workflow communication activity that is used to handle an event that is raised by a local service.

HandleExternalEventActivityValidator

Verifies that the HandleExternalEventActivity class is configured correctly.

IfElseActivity

Conditionally runs one of two or more activities of type IfElseBranchActivity. This class cannot be inherited.

IfElseBranchActivity

Represents a branch of an IfElseActivity. This class cannot be inherited.

InvokeWebServiceActivity

Invokes a Web service through a proxy class, which passes and receives parameters as specified. This class cannot be inherited.

InvokeWebServiceEventArgs

Contains event data used to invoke a Web service. This class cannot be inherited.

InvokeWorkflowActivity

Asynchronously runs one workflow from another. This class cannot be inherited.

ListenActivity

Makes the workflow wait for any one of several possible events before the activity proceeds. This class cannot be inherited.

MessageEventSubscription

Creates a message event subscription to route messages to the appropriate workflow instance.

OperationInfo

Represents the information for a contract operation defined in a workflow service.

OperationInfoBase

The base class used for storing information for a contract operation defined in a workflow service.

OperationParameterInfo

Contains information about an operation parameter.

OperationParameterInfoCollection

A collection of OperationParameterInfo objects.

OperationValidationEventArgs

Provides data for the OperationValidation event.

ParallelActivity

Runs a set of child activities at the same time. This class cannot be inherited.

PolicyActivity

Represents a collection of Rule class instances to be run as part of a workflow's execution as a single step or activity.

ReceiveActivity

Service activity that implements an operation defined by a Windows Communication Foundation (WCF) service contract.

ReplicatorActivity

Runs multiple instances of a child activity.

ReplicatorChildEventArgs

Contains event arguments for the ReplicatorActivity activity handlers called at initialization of child Activity instances in addition to when the child Activity instances are finished.

SendActivity

Client activity that models the synchronous invocation of a Windows Communication Foundation (WCF) service operation.

SendActivityEventArgs

Provides information for the BeforeSend and AfterResponse events.

SequenceActivity

Runs a set of child activities according to a single defined ordering.

SequentialWorkflowActivity

Represents a workflow that executes activities sequentially.

SetStateActivity

Provides the transition to a StateActivity in a state machine workflow. This class cannot be inherited.

SetStateEventArgs

Represents a class that is used as an argument to set the state of a StateMachineWorkflowActivity.

StateActivity

Represents a state in a StateMachineWorkflowActivity.

StateActivityValidator

Represents a class that verifies whether a StateActivity class is configured correctly.

StateFinalizationActivity

Represents an activity that executes contained activities before transitioning to another state in a state machine workflow. This class cannot be inherited.

StateInitializationActivity

Acts as a container to a group of activities that is executed when the StateActivity starts running. This class cannot be inherited.

StateMachineWorkflowActivity

Serves as the root container for state machine workflows. Contains event-driven activities and states.

StateMachineWorkflowInstance

Represents a class that manages the current instance of a StateMachineWorkflowActivity. This class cannot be inherited.

TypedOperationInfo

An OperationInfo object that inherits from OperationInfoBase used for the service operation information of the SendActivity and ReceiveActivity activities. Note that this operation information must be based on a CLR type.

WebServiceFaultActivity

Enables sending a fault to the Web service client from the workflow. This class cannot be inherited.

WebServiceInputActivity

Enables receiving data from a Web service in a workflow. This class cannot be inherited.

WebServiceOutputActivity

Enables sending data to a Web service from within a workflow. This class cannot be inherited.

WebWorkflowRole

Represents a Workflow role that is backed by a RoleProvider.

WhileActivity

Runs a child activity iteratively as long as a certain condition is true.

WorkflowAuthorizationException

The exception that is thrown when role validation fails due to a specified identity that is not contained in the WorkflowRoleCollection.

WorkflowRole

The abstract base class from which workflow roles are derived.

WorkflowRoleCollection

Represents a collection of WorkflowRole objects. This class cannot be inherited.

WorkflowServiceAttributes

Builds the service behavior for the workflow service that it decorates.

WorkflowServiceAttributesDynamicPropertyValidator

The property validator used by the WorkflowServiceAttributesProperty.

WorkflowSubscriptionService

Provides methods for a subscription service to manage subscriptions for a workflow runtime.

WorkflowWebService

Represents the base class for all workflow Web services.

Interfaces

IEventActivity

Provides methods and properties that event-driven activities must derive from, to subscribe to events.

Enums

ExecutionType

Specifies the execution mode for activities.