Editar

Partilhar via


System.Workflow.ComponentModel Namespace

Provides classes related to the Windows Workflow Foundation component model.

Classes

Activity

Represents the fundamental building block of workflows. Activity is the base class for all activities.

ActivityBind

Binds an activity's property to a property, field, indexer, method, event, or another activity's property. This class cannot be inherited.

ActivityChangeAction

Represents a proposed change to a CompositeActivity within a running workflow instance. This class must be inherited.

ActivityCollection

Models a strongly typed ICollection of type Activity.

ActivityCollectionChangeEventArgs

Represents the information needed by an event handler to perform custom processing whenever the contents of an ActivityCollection changes.

ActivityCondition

Represents an abstract class for an expression, which evaluates to a Boolean. This class must be inherited.

ActivityExecutionContext

Represents the execution environment of an Activity. This class cannot be inherited.

ActivityExecutionContextManager

Allows a CompositeActivity to create and manage execution contexts for its child activities. This class cannot be inherited.

ActivityExecutionStatusChangedEventArgs

Holds information relating to the change of execution status event for an Activity. This class cannot be inherited.

AddedActivityAction

Represents a proposed addition of an Activity to a CompositeActivity within a running workflow instance.

AlternateFlowActivityAttribute

Custom attribute which indicates that the activity supports an alternative flow. This class cannot be inherited.

CancellationHandlerActivity

Represents cancellation logic that can be associated with a CompositeActivity. This class cannot be inherited.

CompensatableTransactionScopeActivity

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

CompensateActivity

Triggers the compensation of a completed child Activity that implements the ICompensatableActivity interface. This class cannot be inherited.

CompensationHandlerActivity

Specifies workflow logic that undoes, or compensates for, the successful execution of the associated CompositeActivity. This class cannot be inherited.

CompositeActivity

Derivative of Activity that is the base class for all activities that contain other activities. A CompositeActivity is responsible for managing the execution of its child activities.

DependencyObject

The base class for all objects that have dependency properties. This class must be inherited.

DependencyProperty

A special kind of property that can be defined or attached to a DependencyObject. There are three kinds of dependency properties: instance properties, meta properties, and attached properties. This class cannot be inherited.

FaultHandlerActivity

Represents the activity class used to handle an Exception of the type specified by the FaultType property. This class cannot be inherited.

FaultHandlersActivity

Represents a CompositeActivity that has an ordered list of child activities of type FaultHandlerActivity. This class cannot be inherited.

PersistOnCloseAttribute

Indicates that the current workflow instance must be persisted when the adorned activity completes its execution. This class cannot be inherited.

PropertyMetadata

Represents the behavior of a dependency property.

QueueEventArgs

Represents the event arguments for a workflow queue-related event.

RemovedActivityAction

Represents a proposed removal of an Activity from a CompositeActivity within a running workflow instance.

SuspendActivity

Suspends the running workflow instance when executed. This class cannot be inherited.

SynchronizationScopeActivity

Represents a section of workflow that requires controlled access to shared variables. If two or more instances of a SynchronizationScopeActivity access the same variables, then the execution of these activities is effectively serialized. This class cannot be inherited.

TerminateActivity

Terminates the running workflow instance when an abnormal situation occurs. This class cannot be inherited.

ThrowActivity

Models the throwing of an exception. This class cannot be inherited.

TransactionScopeActivity

A section of workflow which demarcates a transaction boundary. A new Transaction is started when this Activity begins executing and the transaction commits when the Activity closes successfully. This class cannot be inherited.

WorkflowChangeAction

An abstract base class from which all classes that represent proposed changes to a running workflow instance must derive.

WorkflowChanges

Represents a set of proposed changes to a running workflow instance.

WorkflowParameterBinding

A general-purpose class that represents a binding to a named parameter. This class cannot be inherited.

WorkflowParameterBindingCollection

Represents a KeyedCollection<TKey,TItem> of type WorkflowParameterBinding. This class may not be inherited.

WorkflowTerminatedException

Represents the Exception that is raised when a workflow is terminated. This class cannot be inherited.

WorkflowTransactionOptions

Container for workflow transaction type options. This class cannot be inherited.

Interfaces

IActivityEventListener<T>

Defines the interface for an object that listens for an event.

ICompensatableActivity

Defines the interface required by an Activity that can be compensated.

IDynamicPropertyTypeProvider

Provides a property type to the bind infrastructure. It is implemented by activities that contain a property of variable type, where the type can vary depending on other activity settings.

IStartWorkflow

Defines a service that can be obtained from an ActivityExecutionContext for the purpose of starting a new workflow instance.

IWorkflowChangeDiff

Supports mining of workflow changes.

Enums

ActivityCollectionChangeAction

Represents an enumeration of the permissible actions which may be performed on an ActivityCollection, which typically represents the collection of all child activities of a CompositeActivity.

ActivityExecutionResult

Enumeration of activity result values that qualifies the state of an Activity that has an ActivityExecutionStatus of Closed.

ActivityExecutionStatus

Enumeration of activity status values that correspond to the life cycle of an activity within a running workflow instance.

DependencyPropertyOptions

Represents an enumeration of DependencyProperty options.

Delegates

GetValueOverride

Allows a custom override of the GetValue(DependencyProperty) logic associated with a dependency property that is defined on a dependency object.

SetValueOverride

Allows a custom override of the SetValue(DependencyProperty, Object) logic associated with a dependency property that is defined on a dependency object.