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

表示屬性參考,這個屬性參考會在 x:Class 活動還原序列化至 ActivityBuilder 時,於 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. 這是 abstract 類別。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.