System.Activities Namespace

Provides classes related to system activities.

Classes

Activity

An abstract base class used to create composite activities from pre-existing Activity objects.

Activity<TResult>

An abstract base class used to create composite activities from pre-existing Activity objects, which specifies a result type using the activity's type specifier.

ActivityAction

Defines an activity delegate that has no in arguments and does not return a value.

ActivityAction<T>

Defines an activity delegate that has one in argument and does not return a value.

ActivityAction<T1,T2>

Defines an activity delegate that has two in arguments and does not return a value.

ActivityAction<T1,T2,T3>

Defines an activity delegate that has three in arguments and does not return a value.

ActivityAction<T1,T2,T3,T4>

Defines an activity delegate that has four in arguments and does not return a value.

ActivityAction<T1,T2,T3,T4,T5>

Defines an activity delegate that has five in arguments and does not return a value.

ActivityAction<T1,T2,T3,T4,T5,T6>

Defines an activity delegate that has six in arguments and does not return a value.

ActivityAction<T1,T2,T3,T4,T5,T6,T7>

Defines an activity delegate that has seven in arguments and does not return a value.

ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8>

Defines an activity delegate that has eight in arguments and does not return a value.

ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8,T9>

Defines an activity delegate that has nine in arguments and does not return a value.

ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>

Defines an activity delegate that has ten in arguments and does not return a value.

ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>

Defines an activity delegate that has eleven in arguments and does not return a value.

ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>

Defines an activity delegate that has twelve in arguments and does not return a value.

ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>

Defines an activity delegate that has thirteen in arguments and does not return a value.

ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>

Defines an activity delegate that has fourteen in arguments and does not return a value.

ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>

Defines an activity delegate that has fifteen in arguments and does not return a value.

ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>

Defines an activity delegate that has sixteen in arguments and does not return a value.

ActivityBuilder

Provides property data for a workflow activity.

ActivityBuilder<TResult>

Provides property data for a generic workflow activity.

ActivityContext

The base class for context classes that represent the execution environment of an activity.

ActivityDelegate

Represents an activity-based callback.

ActivityFunc<TResult>

Defines an activity delegate with no in arguments and one out argument of type Tresult.

ActivityFunc<T,TResult>

Defines an activity delegate with one in argument of type T and one out argument of type TResult.

ActivityFunc<T1,T2,TResult>

Defines an activity delegate with one in argument of type T and one out argument of type TResult.

ActivityFunc<T1,T2,T3,TResult>

Defines an activity delegate with three in arguments of type T and one out argument of type TResult.

ActivityFunc<T1,T2,T3,T4,TResult>

Defines an activity delegate with four in arguments of type T and one out argument of type TResult.

ActivityFunc<T1,T2,T3,T4,T5,TResult>

Defines an activity delegate with five in arguments of type T and one out argument of type TResult.

ActivityFunc<T1,T2,T3,T4,T5,T6,TResult>

Defines an activity delegate with six in arguments of type T and one out argument of type TResult.

ActivityFunc<T1,T2,T3,T4,T5,T6,T7,TResult>

Defines an activity delegate with seven in arguments of type T and one out argument of type TResult.

ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,TResult>

Defines an activity delegate with eight in arguments of type T and one out argument of type TResult.

ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,TResult>

Defines an activity delegate with nine in arguments of type T and one out argument of type TResult.

ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,TResult>

Defines an activity delegate with one in argument of type T and one out argument of type TResult.

ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,TResult>

Defines an activity delegate with one in argument of type T and one out argument of type TResult.

ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,TResult>

Defines an activity delegate with one in argument of type T and one out argument of type TResult.

ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,TResult>

Defines an activity delegate with one in argument of type T and one out argument of type TResult.

ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,TResult>

Defines an activity delegate with one in argument of type T and one out argument of type TResult.

ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,TResult>

Defines an activity delegate with one in argument of type T and one out argument of type TResult.

ActivityFunc<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,TResult>

Defines an activity delegate with one in argument of type T and one out argument of type TResult.

ActivityInstance

Represents the instance state of an activity at runtime.

ActivityPropertyReference

Represents a property reference that is used in ActivityBuilder and that maps to a PropertyReferenceExtension<T> in an x:Class activity when the x:Class activity is deserialized into an ActivityBuilder.

ActivityWithResult

Retrieves the value or type of an activity out argument. This class is abstract and derives from Activity class.

Argument

The abstract base class that represents a binding terminal that supports the flow of data into and out of an activity.

AsyncCodeActivity

Manages asynchronous code activity execution from start to completion. This is an abstract class.

AsyncCodeActivity<TResult>

Manages asynchronous code activity execution, for an activity of a specified type, from start to completion. This is an abstract and generic class.

AsyncCodeActivityContext

The execution context for an asynchronous activity.

Bookmark

Represents a point at which a workflow or activity can passively wait to be resumed.

BookmarkScope

Scopes a set of Bookmark objects that are categorized as operating under the same protocol.

BookmarkScopeHandle

A Handle used to manage the lifetime of a BookmarkScope.

CodeActivity

An abstract class for creating a custom activity with imperative behavior defined with the Execute(CodeActivityContext) method, which gives access to variable and argument resolution and extensions.

CodeActivity<TResult>

An abstract class for creating a custom activity with imperative behavior defined in the Execute(CodeActivityContext) method, giving access to variable and argument resolution and extensions.

CodeActivityContext

Extends ActivityContext and provides additional functionality for CodeActivity.

DelegateArgument

The abstract base class that represents a binding terminal that supports the flow of data into and out of an ActivityDelegate.

DelegateInArgument

The abstract base class that represents a binding terminal that supports the flow of data into an ActivityDelegate.

DelegateInArgument<T>

A binding terminal that represents the flow of data into an ActivityDelegate.

DelegateOutArgument

The abstract base class that represents a binding terminal that supports the flow of data out of an ActivityDelegate.

DelegateOutArgument<T>

A binding terminal that represents the flow of data out of an ActivityDelegate.

DynamicActivity

Provides an object model that allows you to construct activities dynamically that interface with the WF designer and runtime using ICustomTypeDescriptor.

DynamicActivity<TResult>

Provides an approach that is consistent with the document object model (DOM), which constructs activities dynamically that interface with the WF designer and workflow runtime using ICustomTypeDescriptor.

DynamicActivityProperty

Represents a property of a DynamicActivity that is created at runtime and executes in the ActivityExecutionContext.

ExceptionPersistenceExtension

Specifies exception persistence.

ExclusiveHandle

Adds supplementary information to a bookmark that enables it to access a subset of its scope handles, excluding handles that are not required.

ExecutionProperties

Represents the collection of properties at a particular scope.

Handle

Represents a type that has its lifetime controlled by the workflow runtime.

HandleInitializationContext

Represents the initialization environment of a Handle.

InArgument

The abstract base class that represents a binding terminal that supports the flow of data into an activity.

InArgument<T>

A binding terminal that represents the flow of data into an activity.

InOutArgument

The abstract base class that represents a binding terminal that supports the flow of data into and out of an activity.

InOutArgument<T>

A binding terminal that represents the flow of data into and out of an activity.

InvalidWorkflowException

Handles exceptions that occur when a workflow is not valid.

InvokeCompletedEventArgs

Provides data for the InvokeCompleted event.

Location

Provides a reference to a value used by an Argument or Variable.

Location<T>

Provides a typed reference to a value used by an Argument or Variable.

LocationReference

Provides a mechanism by which a Location can be resolved at runtime.

LocationReferenceEnvironment

Provides a representation of the environment of variables and arguments that is available to an activity at runtime.

NativeActivity

Abstract base class for custom activities that implement execution logic using the Execute(NativeActivityContext) method, which has full access to the runtime's features.

NativeActivity<TResult>

Abstract base class for custom activities that implement execution logic using the Execute(NativeActivityContext) method, that has full access to the runtime's features.

NativeActivityAbortContext

Represents the execution environment of an activity that is being aborted.

NativeActivityContext

The execution context for a NativeActivity.

NativeActivityFaultContext

Represents the execution environment of a NativeActivity when it is handling an exception thrown by a child activity.

NativeActivityTransactionContext

The execution context for a NativeActivity that needs to provide the runtime with a transaction.

NoPersistHandle

Manages the lifetime of a no-persist block.

OutArgument

The abstract base class that represents a binding terminal that supports the flow of data out of an activity.

OutArgument<T>

A binding terminal that represents the flow of data out of an activity.

OverloadGroupAttribute

Provides a method for indicating which combinations of arguments are valid in an activity.

RegistrationContext

Provides access to the current collection of workflow execution properties.

RequiredArgumentAttribute

Application element on which it is valid to apply an argument.

RuntimeArgument

Describes the characteristics of an argument of an activity to the runtime.

RuntimeDelegateArgument

Describes the characteristics of a DelegateArgument to the runtime.

RuntimeTransactionHandle

Provides access to the run-time transaction in a workflow instance.

ValidationException

The exception that is thrown when a workflow or activity is in an invalid state.

Variable

The abstract base class from which the workflow data member support class Variable<T> derives.

Variable<T>

Represents a variable in a workflow.

VersionMismatchException

Specifies information about a version mismatch exception.

WorkflowApplication

Provides a host for a single instance of a workflow.

WorkflowApplicationAbortedEventArgs

Provides data about an aborted workflow instance.

WorkflowApplicationAbortedException

Represents the exception that is thrown when an operation on a workflow instance is not valid because the instance has been aborted.

WorkflowApplicationCompletedEventArgs

Provides information about a workflow instance that has completed its execution.

WorkflowApplicationCompletedException

Represents the exception that is thrown when an operation on a workflow instance is not valid because the instance has completed.

WorkflowApplicationEventArgs

A base class for events associated with a WorkflowApplication .

WorkflowApplicationException

Provides the base class for handling an error that occurs during the execution of a workflow application.

WorkflowApplicationIdleEventArgs

Holds information about the workflow instance that has become idle.

WorkflowApplicationInstance

Specifies information about a workflow application instance.

WorkflowApplicationTerminatedException

An exception that is thrown when an operation on a workflow instance is not valid because the instance has been terminated.

WorkflowApplicationUnhandledExceptionEventArgs

Provides information about an unhandled exception that occurred in a workflow instance.

WorkflowApplicationUnloadedException

An exception that is thrown when an operation on a workflow instance is invalid because the instance has been unloaded.

WorkflowDataContext

Represents the data context of the current workflow environment and provides a bridge to bring workflow arguments and variables into the scope of Windows Presentation Foundation (WPF) data binding.

WorkflowIdentity

Maps a persisted workflow instance to its corresponding workflow definition.

WorkflowInspectionServices

Provides methods for working with the runtime metadata for an activity tree.

WorkflowInvoker

Provides a means for invoking a workflow as if it were a method call.

Structs

ActivityMetadata

Represents the set of arguments, child activities, variables, and delegates that a configured Activity introduces to the execution environment.

CodeActivityMetadata

Represents the set of arguments that a configured CodeActivity introduces to the execution environment.

CodeActivityPublicEnvironmentAccessor

Specifies information about a public environment accessor.

NativeActivityMetadata

Represents the set of arguments, child activities, variables, and delegates that a configured NativeActivity introduces to the execution environment.

Interfaces

IExecutionProperty

Provides execution properties with a mechanism for configuring thread local storage before and after the work items of the associated activity.

IPropertyRegistrationCallback

Allows a workflow execution property to provide custom registration and un-registration logic.

Enums

ActivityInstanceState

Describes the state of an activity instance.

ArgumentDirection

Specifies the direction of data flow for an Argument.

BookmarkOptions

Specifies the options for a Bookmark.

BookmarkResumptionResult

Defines an enumeration whose members represent the outcome of bookmark scheduling requests.

PersistableIdleAction

Specifies the action that occurs when a workflow becomes idle when persistence is allowed.

UnhandledExceptionAction

Specifies the action that occurs when an exception escapes the root of a workflow.

VariableModifiers

Specifies the way the workflow runtime treats Variable objects.

WorkflowIdentityFilter

Specifies the workflow identity filter.

Delegates

BookmarkCallback

Represents the method that is called when a Bookmark is resumed.

CompletionCallback

The method that is called when an activity completes.

CompletionCallback<TResult>

The method that is called when an activity completes.

DelegateCompletionCallback

Represents the method that is called when an ActivityDelegate completes.

FaultCallback

Represents the method that is called when a scheduled activity or one of its children enters the Faulted state.