Collapse the table of content
Expand the table of content
Expand Minimize

System.Activities Namespace

The System.Activities namespace contains all of the classes necessary to create and work with activities. The classes in this namespace allow you to define activities, define the data flow into and out of activities, and define variables.

  ClassDescription
Public classActivityAn abstract base class used to create composite activities from pre-existing Activity objects.
Public classActivity<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.
Public classActivityActionDefines an activity delegate that has no in arguments and does not return a value.
Public classActivityAction<T>Defines an activity delegate that has one in argument and does not return a value.
Public classActivityAction<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.
Public classActivityAction<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.
Public classActivityAction<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.
Public classActivityAction<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.
Public classActivityAction<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.
Public classActivityAction<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.
Public classActivityAction<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.
Public classActivityAction<T1, T2>Defines an activity delegate that has two in arguments and does not return a value.
Public classActivityAction<T1, T2, T3>Defines an activity delegate that has three in arguments and does not return a value.
Public classActivityAction<T1, T2, T3, T4>Defines an activity delegate that has four in arguments and does not return a value.
Public classActivityAction<T1, T2, T3, T4, T5>Defines an activity delegate that has five in arguments and does not return a value.
Public classActivityAction<T1, T2, T3, T4, T5, T6>Defines an activity delegate that has six in arguments and does not return a value.
Public classActivityAction<T1, T2, T3, T4, T5, T6, T7>Defines an activity delegate that has seven in arguments and does not return a value.
Public classActivityAction<T1, T2, T3, T4, T5, T6, T7, T8>Defines an activity delegate that has eight in arguments and does not return a value.
Public classActivityAction<T1, T2, T3, T4, T5, T6, T7, T8, T9>Defines an activity delegate that has nine in arguments and does not return a value.
Public classActivityBuilderProvides property data for a workflow activity.
Public classActivityBuilder<TResult>Provides property data for a generic workflow activity.
Public classActivityContextThe base class for context classes that represent the execution environment of an activity.
Public classActivityDelegateRepresents an activity-based callback.
Public classActivityFunc<TResult>Defines an activity delegate with no in arguments and one out argument of type Tresult.
Public classActivityFunc<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.
Public classActivityFunc<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.
Public classActivityFunc<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.
Public classActivityFunc<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.
Public classActivityFunc<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.
Public classActivityFunc<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.
Public classActivityFunc<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.
Public classActivityFunc<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.
Public classActivityFunc<T, TResult>Defines an activity delegate with one in argument of type T and one out argument of type TResult.
Public classActivityFunc<T1, T2, TResult>Defines an activity delegate with one in argument of type T and one out argument of type TResult.
Public classActivityFunc<T1, T2, T3, TResult>Defines an activity delegate with three in arguments of type T and one out argument of type TResult.
Public classActivityFunc<T1, T2, T3, T4, TResult>Defines an activity delegate with four in arguments of type T and one out argument of type TResult.
Public classActivityFunc<T1, T2, T3, T4, T5, TResult>Defines an activity delegate with five in arguments of type T and one out argument of type TResult.
Public classActivityFunc<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.
Public classActivityFunc<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.
Public classActivityFunc<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.
Public classActivityInstanceRepresents the instance state of an activity at runtime.
Public classActivityPropertyReferenceRepresents 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.
Public classActivityWithResultRetrieves the value or type of an activity out argument. This class is abstract and derives from Activity class.
Public classArgumentThe abstract base class that represents a binding terminal that supports the flow of data into and out of an activity.
Public classAsyncCodeActivityManages asynchronous code activity execution from start to completion. This is an abstract class.
Public classAsyncCodeActivity<TResult>Manages asynchronous code activity execution, for an activity of a specified type, from start to completion. This is an abstract and generic class.
Public classAsyncCodeActivityContextThe execution context for an asynchronous activity.
Public classBookmarkRepresents a point at which a workflow or activity can passively wait to be resumed.
Public classBookmarkScopeScopes a set of Bookmark objects that are categorized as operating under the same protocol.
Public classBookmarkScopeHandleA T:System.Handle used to manage the lifetime of a BookmarkScope.
Public classCodeActivityAn 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.
Public classCodeActivity<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.
Public classCodeActivityContextExtends ActivityContext and provides additional functionality for CodeActivity.
Public classDelegateArgumentThe abstract base class that represents a binding terminal that supports the flow of data into and out of an ActivityDelegate.
Public classDelegateInArgumentThe abstract base class that represents a binding terminal that supports the flow of data into an ActivityDelegate.
Public classDelegateInArgument<T>A binding terminal that represents the flow of data into an ActivityDelegate.
Public classDelegateOutArgumentThe abstract base class that represents a binding terminal that supports the flow of data out of an ActivityDelegate.
Public classDelegateOutArgument<T>A binding terminal that represents the flow of data out of an ActivityDelegate.
Public classDynamicActivityProvides an object model that allows you to construct activities dynamically that interface with the WF designer and runtime using ICustomTypeDescriptor.
Public classDynamicActivity<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.
Public classDynamicActivityPropertyRepresents a property of a DynamicActivity that is created at runtime and executes in the ActivityExecutionContext.
Public classExceptionPersistenceExtensionSpecifies exception persistence.
Public classExclusiveHandleAdds supplementary information to a bookmark that enables it to access a subset of its scope handles, excluding handles that are not required.
Public classExecutionPropertiesRepresents the collection of properties at a particular scope.
Public classHandleRepresents a type that has its lifetime controlled by the workflow runtime.
Public classHandleInitializationContextRepresents the initialization environment of a Handle.
Public classInArgumentThe abstract base class that represents a binding terminal that supports the flow of data into an activity.
Public classInArgument<T>A binding terminal that represents the flow of data into an activity.
Public classInOutArgumentThe abstract base class that represents a binding terminal that supports the flow of data into and out of an activity.
Public classInOutArgument<T>A binding terminal that represents the flow of data into and out of an activity.
Public classInvalidWorkflowExceptionHandles exceptions that occur when a workflow is not valid.
Public classInvokeCompletedEventArgsProvides data for the InvokeCompleted event.
Public classLocationProvides a reference to a value used by an Argument or Variable.
Public classLocation<T>Provides a typed reference to a value used by an Argument or Variable.
Public classLocationReferenceProvides a mechanism by which a Location can be resolved at runtime.
Public classLocationReferenceEnvironmentProvides a representation of the environment of variables and arguments that is available to an activity at runtime.
Public classNativeActivityAbstract base class for custom activities that implement execution logic using the Execute(ActivityExecutionContext) method, which has full access to the runtime’s features.
Public classNativeActivity<TResult>Abstract base class for custom activities that implement execution logic using the Execute(ActivityExecutionContext) method, that has full access to the runtime’s features.
Public classNativeActivityAbortContextRepresents the execution environment of an activity that is being aborted.
Public classNativeActivityContextThe execution context for a NativeActivity.
Public classNativeActivityFaultContextRepresents the execution environment of a NativeActivity when it is handling an exception thrown by a child activity.
Public classNativeActivityTransactionContextThe execution context for a NativeActivity that needs to provide the runtime with a transaction.
Public classNoPersistHandleManages the lifetime of a no-persist block.
Public classOutArgumentThe abstract base class that represents a binding terminal that supports the flow of data out of an activity.
Public classOutArgument<T>A binding terminal that represents the flow of data out of an activity.
Public classOverloadGroupAttributeProvides a method for indicating which combinations of arguments are valid in an activity.
Public classRegistrationContextProvides access to the current collection of workflow execution properties.
Public classRequiredArgumentAttributeApplication element on which it is valid to apply an argument.0
Public classRuntimeArgumentDescribes the characteristics of an argument of an activity to the runtime.
Public classRuntimeDelegateArgumentDescribes the characteristics of a DelegateArgument to the runtime.
Public classRuntimeTransactionHandleProvides access to the run-time transaction in a workflow instance.
Public classValidationExceptionThe exception that is thrown when a workflow or activity is in an invalid state.
Public classVariableThe abstract base class from which the workflow data member support class Variable<T> derives.
Public classVariable<T>Represents a variable in a workflow.
Public classWorkflowApplicationProvides a host for a single instance of a workflow.
Public classWorkflowApplicationAbortedEventArgsProvides data about an aborted workflow instance.
Public classWorkflowApplicationAbortedExceptionRepresents the exception that is thrown when an operation on a workflow instance is not valid because the instance has been aborted.
Public classWorkflowApplicationCompletedEventArgsProvides information about a workflow instance that has completed its execution.
Public classWorkflowApplicationCompletedExceptionRepresents the exception that is thrown when an operation on a workflow instance is not valid because the instance has completed.
Public classWorkflowApplicationEventArgsA base class for events associated with a WorkflowApplication .
Public classWorkflowApplicationExceptionProvides the base class for handling an error that occurs during the execution of a workflow application.
Public classWorkflowApplicationIdleEventArgsHolds information about the workflow instance that has become idle.
Public classWorkflowApplicationTerminatedExceptionAn exception that is thrown when an operation on a workflow instance is not valid because the instance has been terminated.
Public classWorkflowApplicationUnhandledExceptionEventArgsProvides information about an unhandled exception that occurred in a workflow instance.
Public classWorkflowApplicationUnloadedExceptionAn exception that is thrown when an operation on a workflow instance is invalid because the instance has been unloaded.
Public classWorkflowDataContextRepresents the data context of the current workflow environment and provides a bridge to bring workflow arguments and variables into the scope of data binding.
Public classWorkflowInspectionServicesProvides methods for working with the runtime metadata for an activity tree.
Public classWorkflowInvokerProvides a means for invoking a workflow as if it were a method call.

  StructureDescription
Public structureActivityMetadataRepresents the set of arguments, child activities, variables, and delegates that a configured Activity introduces to the execution environment.
Public structureCodeActivityMetadataRepresents the set of arguments that a configured CodeActivity introduces to the execution environment.
Public structureNativeActivityMetadataRepresents the set of arguments, child activities, variables, and delegates that a configured NativeActivity introduces to the execution environment.

  InterfaceDescription
Public interfaceIExecutionPropertyProvides execution properties with a mechanism for configuring thread local storage before and after the work items of the associated activity.
Public interfaceIPropertyRegistrationCallbackAllows a workflow execution property to provide custom registration and un-registration logic.

  DelegateDescription
Public delegateBookmarkCallbackRepresents the method that is called when a Bookmark is resumed.
Public delegateCompletionCallbackThe method that is called when an activity completes.
Public delegateCompletionCallback<TResult>The method that is called when an activity completes.
Public delegateDelegateCompletionCallbackRepresents the method that is called when an ActivityDelegate completes.
Public delegateFaultCallbackRepresents the method that is called when a scheduled activity or one of its children enters the Faulted state.

  EnumerationDescription
Public enumerationActivityInstanceStateDescribes the state of an activity instance.
Public enumerationArgumentDirectionSpecifies the direction of data flow for an Argument.
Public enumerationBookmarkOptionsSpecifies the options for a Bookmark.
Public enumerationBookmarkResumptionResultDefines an enumeration whose members represent the outcome of bookmark scheduling requests.
Public enumerationPersistableIdleActionSpecifies the action that occurs when a workflow becomes idle when persistence is allowed.
Public enumerationUnhandledExceptionActionSpecifies the action that occurs when an exception escapes the root of a workflow.
Public enumerationVariableModifiersSpecifies the way the workflow runtime treats Variable objects.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft