System.Activities 命名空间

提供类,与系统活动相关。 Provides classes related to system activities.

Activity

用于从预先存在的 Activity 对象创建复合活动的抽象基类。An abstract base class used to create composite activities from pre-existing Activity objects.

Activity<TResult>

用于从预先存在的 Activity 对象创建复合活动的抽象基类,此类使用活动的类型说明符指定结果类型。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

定义一个不含 In 参数并且不返回值的活动委托。Defines an activity delegate that has no in arguments and does not return a value.

ActivityAction<T>

定义一个具有一个 In 自变量并且不返回值的活动委托。Defines an activity delegate that has one in argument and does not return a value.

ActivityAction<T1,T2>

定义一个具有两个 In 自变量并且不返回值的活动委托。Defines an activity delegate that has two in arguments and does not return a value.

ActivityAction<T1,T2,T3>

定义一个具有三个 In 自变量并且不返回值的活动委托。Defines an activity delegate that has three in arguments and does not return a value.

ActivityAction<T1,T2,T3,T4>

定义一个具有四个 In 自变量并且不返回值的活动委托。Defines an activity delegate that has four in arguments and does not return a value.

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

定义一个具有五个 In 自变量并且不返回值的活动委托。Defines an activity delegate that has five in arguments and does not return a value.

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

定义一个具有六个 In 自变量并且不返回值的活动委托。Defines an activity delegate that has six in arguments and does not return a value.

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

定义一个具有七个 In 自变量并且不返回值的活动委托。Defines an activity delegate that has seven in arguments and does not return a value.

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

定义一个具有八个 In 自变量并且不返回值的活动委托。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>

定义一个具有九个 In 自变量并且不返回值的活动委托。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>

定义一个具有十个 In 自变量并且不返回值的活动委托。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>

定义一个具有十一个 In 自变量并且不返回值的活动委托。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>

定义一个具有十二个 In 自变量并且不返回值的活动委托。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>

定义一个具有十三个 In 自变量并且不返回值的活动委托。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>

定义一个具有十四个 In 自变量并且不返回值的活动委托。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>

定义一个具有十五个 In 自变量并且不返回值的活动委托。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>

定义一个具有十六个 In 自变量并且不返回值的活动委托。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>

定义一个活动委托,它不含 in 参数但具有一个类型为 Tresultout 参数。Defines an activity delegate with no in arguments and one out argument of type Tresult.

ActivityFunc<T,TResult>

定义一个活动委托,它具有一个类型为 T 的 In 参数和一个类型为 TResultout 参数。Defines an activity delegate with one in argument of type T and one out argument of type TResult.

ActivityFunc<T1,T2,TResult>

定义一个活动委托,它具有一个类型为 T 的 In 参数和一个类型为 TResultout 参数。Defines an activity delegate with one in argument of type T and one out argument of type TResult.

ActivityFunc<T1,T2,T3,TResult>

定义一个活动委托,它具有三个类型为 T 的 In 参数和一个类型为 TResultout 参数。Defines an activity delegate with three in arguments of type T and one out argument of type TResult.

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

定义一个活动委托,它具有四个类型为 T 的 In 参数和一个类型为 TResultout 参数。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>

定义一个活动委托,它具有五个类型为 T 的 In 参数和一个类型为 TResult 的 Out 参数。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>

定义一个活动委托,它具有六个类型为 T 的 In 参数和一个类型为 TResult 的 Out 参数。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>

定义一个活动委托,它具有七个类型为 T 的 In 参数和一个类型为 TResult 的 Out 参数。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>

定义一个活动委托,它具有八个类型为 T 的 In 参数和一个类型为 TResult 的 Out 参数。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>

定义一个活动委托,它具有九个类型为 T 的 In 参数和一个类型为 TResult 的 Out 参数。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>

定义一个活动委托,它具有一个类型为 T 的 In 参数和一个类型为 TResult 的 Out 参数。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>

定义一个活动委托,它具有一个类型为 T 的 In 参数和一个类型为 TResult 的 Out 参数。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>

定义一个活动委托,它具有一个类型为 T 的 In 参数和一个类型为 TResult 的 Out 参数。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>

定义一个活动委托,它具有一个类型为 T 的 In 参数和一个类型为 TResult 的 Out 参数。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>

定义一个活动委托,它具有一个类型为 T 的 In 参数和一个类型为 TResult 的 Out 参数。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>

定义一个活动委托,它具有一个类型为 T 的 In 参数和一个类型为 TResult 的 Out 参数。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>

定义一个活动委托,它具有一个类型为 T 的 In 参数和一个类型为 TResult 的 Out 参数。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

表示一个属性引用,该引用在 ActivityBuilder 中使用,并在 x:Class 活动反序列化为 PropertyReferenceExtension<T> 时,在 x:Class 活动中映射到 ActivityBuilderRepresents 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

检索活动 out 参数的值或类型。Retrieves the value or type of an activity out argument. 此类为抽象类,是从 Activity 类派生的。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

限定分类为在同一协议下运行的一组 Bookmark 对象的范围。Scopes a set of Bookmark objects that are categorized as operating under the same protocol.

BookmarkScopeHandle

用于管理 BookmarkScope 的生存期的 T:System.Handle。A T:System.Handle used to manage the lifetime of a BookmarkScope.

CodeActivity

一种抽象类,用于创建具有强制行为(该行为是使用 Execute(CodeActivityContext) 方法定义的,利用该方法可以访问变量以及参数解析和扩展)的自定义活动。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>

一个抽象类,用于创建具有强制行为(该行为使用 Execute(CodeActivityContext) 方法定义)的自定义活动,从而提供对变量和参数解析及扩展的访问。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

扩展 ActivityContext 并为 CodeActivity 提供附加功能。Extends ActivityContext and provides additional functionality for CodeActivity.

DelegateArgument

表示支持数据流入和流出 ActivityDelegate 的绑定终端的抽象基类。The abstract base class that represents a binding terminal that supports the flow of data into and out of an ActivityDelegate.

DelegateInArgument

抽象基类,表示支持数据流入 ActivityDelegate 的绑定终端。The abstract base class that represents a binding terminal that supports the flow of data into an ActivityDelegate.

DelegateInArgument<T>

表示数据流入 ActivityDelegate 的绑定终端。A binding terminal that represents the flow of data into an ActivityDelegate.

DelegateOutArgument

表示支持数据流出 ActivityDelegate 的绑定终端的抽象基类。The abstract base class that represents a binding terminal that supports the flow of data out of an ActivityDelegate.

DelegateOutArgument<T>

表示数据流出 ActivityDelegate 的绑定终端。A binding terminal that represents the flow of data out of an ActivityDelegate.

DynamicActivity

提供一个对象模型,该模型允许您使用 ICustomTypeDescriptor 以动态方式构造与 WF 设计器和运行时交互的活动。Provides an object model that allows you to construct activities dynamically that interface with the WF designer and runtime using ICustomTypeDescriptor.

DynamicActivity<TResult>

提供一种与文档对象模型 (DOM) 一致的方法,该方法允许您使用 ICustomTypeDescriptor 以动态方式构造与 WF 设计器和工作流运行时交互的活动。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

表示在运行时创建并在 DynamicActivity 中执行的 ActivityExecutionContext 的一个属性。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

表示 Handle 的初始化环境。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

InvokeCompleted 事件提供数据。Provides data for the InvokeCompleted event.

Location

提供对 ArgumentVariable 所用值的引用。Provides a reference to a value used by an Argument or Variable.

Location<T>

提供对 ArgumentVariable 所用值的类型化引用。Provides a typed reference to a value used by an Argument or Variable.

LocationReference

提供一种用于在运行时对 Location 进行解析的机制。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

适用于特定自定义活动(这些活动使用 Execute(NativeActivityContext) 方法实现执行逻辑,该方法具有对运行时功能的完全访问权限)的抽象基类。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>

适用于特定自定义活动(这些活动使用 Execute(NativeActivityContext) 方法实现执行逻辑,该方法具有对运行时功能的完全访问权限)的抽象基类。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

NativeActivity 的执行上下文。The execution context for a NativeActivity.

NativeActivityFaultContext

表示当处理由子活动引发的异常时,NativeActivity 的执行环境。Represents the execution environment of a NativeActivity when it is handling an exception thrown by a child activity.

NativeActivityTransactionContext

需要向运行时提供事务的 NativeActivity 的执行上下文。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

向运行时描述 DelegateArgument 的特征。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

可以从中派生工作流数据成员支持类 Variable<T> 的抽象基类。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

WorkflowApplication 关联的事件的基类。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

表示当前工作流环境的数据上下文,并为将工作流自变量和变量纳入 Windows Presentation Foundation (WPF) 数据绑定范围提供桥梁。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.

结构

ActivityMetadata

代表参数、子活动、变量和委托的集合,通过一个已配置的 Activity 引入执行环境。Represents the set of arguments, child activities, variables, and delegates that a configured Activity introduces to the execution environment.

CodeActivityMetadata

代表参数的集合,通过一个已配置 CodeActivity 引入执行环境。Represents the set of arguments that a configured CodeActivity introduces to the execution environment.

CodeActivityPublicEnvironmentAccessor

指定有关公共环境访问器的信息。Specifies information about a public environment accessor.

NativeActivityMetadata

代表参数、子活动、变量和委托的集合,通过一个已配置的 NativeActivity 引入执行环境。Represents the set of arguments, child activities, variables, and delegates that a configured NativeActivity introduces to the execution environment.

接口

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.

枚举

ActivityInstanceState

描述活动实例的状态。Describes the state of an activity instance.

ArgumentDirection

Argument 指定数据流的方向。Specifies the direction of data flow for an Argument.

BookmarkOptions

Bookmark 指定选项。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

指定工作流运行时处理 Variable 对象的方式。Specifies the way the workflow runtime treats Variable objects.

WorkflowIdentityFilter

指定工作流标识筛选器。Specifies the workflow identity filter.

委托

BookmarkCallback

表示在恢复 Bookmark 后调用的方法。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

表示在 ActivityDelegate 完成后调用的方法。Represents the method that is called when an ActivityDelegate completes.

FaultCallback

表示计划活动或其中的一个子活动进入 Faulted 状态时调用的方法。Represents the method that is called when a scheduled activity or one of its children enters the Faulted state.