System.Activities.Statements 命名空間

提供與活動陳述式相關的類別。 Provides classes related to activity statements.

類別

AddToCollection<T>

將項目加入指定集合。Adds an item to a specified collection.

Assign

從工作流程內設定 Argument 值。Sets Argument values from within a workflow.

Assign<T>

Assign 活動會用於從工作流程內設定 Argument 值。The Assign activity is used to set Argument values from within a workflow.

CancellationScope

建立取消邏輯的關聯,格式為 Activity,包含執行的主要路徑,也可以表示為 ActivityAssociates cancellation logic, in the form of a Activity, with a main path of execution, also expressed as a Activity.

Catch

包含在 Finally 活動中對應的 Try 區塊中擲回例外狀況之後要執行的動作。Contains the actions to be executed after an exception is thrown in the corresponding Try block of a Finally activity.

Catch<TException>

包含在 Finally 活動的對應 Try 區塊中引發例外狀況之後要執行的動作。Contains the actions to be executed after an exception is raised in the corresponding Try block of a Finally activity.

ClearCollection<T>

清除所有項目的指定集合。Clears a specified collection of all items.

CompensableActivity

支援其子活動之補償的活動。An activity that supports compensation of its child activities.

Compensate

用於明確叫用 CompensableActivity 補償處理常式的活動。An activity used to explicitly invoke the compensation handler of a CompensableActivity.

CompensationExtension

代表連結補償活動,並持續發生補償相關之執行個體狀態的延伸模組。Represents an extension that hooks up with compensation activities and persists compensation-related instance state.

CompensationToken

提供一旦成功完成 CompensableActivityBody 時,即明確確認或補償 CompensableActivity 的方式。Provides a means to explicitly confirm or compensate a CompensableActivity once the Body of the CompensableActivity has successfully completed.

Confirm

用於明確叫用 CompensableActivity 確認處理常式的活動。An activity used to explicitly invoke the confirmation handler of a CompensableActivity.

CreateBookmarkScope

建立 BookmarkScopeCreates a BookmarkScope.

Delay

使用 TimerExtension 建立指定持續期間的計時器。Creates a timer for a specified duration, using a TimerExtension.

DeleteBookmarkScope

刪除 BookmarkScope 所參考的 ScopeDeletes the BookmarkScope referenced by Scope.

DoWhile

迴圈活動,至少會執行所包含的活動一次,直到條件不再為 true 為止。A looping activity that executes contained activities at least once, until a condition is no longer true.

DurableTimerExtension

表示可繼續存在的活動計時器擴充。Represents an activity timer extension that can be persisted.

ExistsInCollection<T>

表示指定集合中是否有指定項目。Indicates whether a given item is present in a given collection.

Flowchart

表示使用熟悉流程圖開發架構的模型工作流程。Represents the models workflows using the familiar flowchart paradigm.

FlowDecision

提供以兩種結果建立條件式節點模型之功能的特定 FlowNodeA specialized FlowNode that provides the ability to model a conditional node with two outcomes.

FlowNode

所有不同節點型別的抽象基底類別,可包含於 Flowchart 活動中。The abstract base class for all the different node types that can be contained within a Flowchart activity.

FlowStep

執行指定的 FlowNode 且具有 Action 指標的 Next 項目。A FlowNode element that executes a specified Action and has a Next pointer.

FlowSwitch<T>

允許建立切換建構模型,且每個相符都有一個運算式與一個結果的特定 FlowNodeA specialized FlowNode that allows modeling a switch construct, with one expression and one outcome for each match.

ForEach<T>

針對 Values 集合中所提供的每個值執行一次活動動作。Executes an activity action once for each value provided in the Values collection.

HandleScope<THandle>

提供 Handle 物件的預設範圍行為。Provides default scoping behavior for Handle objects.

If

建立 If-Then-Else 條件的模型。Models an If-Then-Else condition.

Interop

管理工作流程內 Activity 執行的活動。An activity that manages the execution of an Activity within a workflow.

InvokeAction

叫用活動的 ActivityAction 處理常式。Invokes an activity's ActivityAction handler.

InvokeAction<T>

叫用活動的 ActivityAction<T> 處理常式。Invokes an activity's ActivityAction<T> handler.

InvokeAction<T1,T2>

叫用活動的 ActivityAction<T1,T2> 處理常式。Invokes an activity's ActivityAction<T1,T2> handler.

InvokeAction<T1,T2,T3>

叫用活動的 ActivityAction<T1,T2,T3> 處理常式。Invokes an activity's ActivityAction<T1,T2,T3> handler.

InvokeAction<T1,T2,T3,T4>

叫用活動的 ActivityAction<T1,T2,T3,T4> 處理常式。Invokes an activity's ActivityAction<T1,T2,T3,T4> handler.

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

叫用活動的 ActivityAction<T1,T2,T3,T4,T5> 處理常式。Invokes an activity's ActivityAction<T1,T2,T3,T4,T5> handler.

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

叫用活動的 ActivityAction<T1,T2,T3,T4,T5,T6> 處理常式。Invokes an activity's ActivityAction<T1,T2,T3,T4,T5,T6> handler.

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

叫用活動的 ActivityAction<T1,T2,T3,T4,T5,T6,T7> 處理常式。Invokes an activity's ActivityAction<T1,T2,T3,T4,T5,T6,T7> handler.

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

叫用活動的 ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8> 處理常式。Invokes an activity's ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8> handler.

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

叫用活動的 ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8,T9> 處理常式。Invokes an activity's ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8,T9> handler.

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

叫用活動的 ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> 處理常式。Invokes an activity's ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> handler.

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

叫用 ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>Invokes an ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>.

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

叫用活動的 ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> 處理常式。Invokes an activity's ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12> handler.

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

叫用活動的 ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> 處理常式。Invokes an activity's ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13> handler.

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

叫用活動的 ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> 處理常式。Invokes an activity's ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14> handler.

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

叫用活動的 ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> 處理常式。Invokes an activity's ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15> handler.

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

叫用活動的 ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> 處理常式。Invokes an activity's ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> handler.

InvokeDelegate

叫用指定的 ActivityDelegateInvokes the specified ActivityDelegate.

InvokeMethod

呼叫指定之物件或型別的公用方法。Calls a public method of a specified object or type.

NoPersistScope

表示 NoPersistScope 活動。Represents the NoPersistScope activity.

Parallel

同時或非同步執行所有子活動的活動。An activity that executes all child activities simultaneously and asynchronously.

ParallelForEach<T>

列舉集合項目,並針對集合的每個項目平行執行內嵌陳述式。Enumerates the elements of a collection and executes an embedded statement for each element of the collection in parallel.

Persist

要求工作流程執行個體繼續存在。Requests that a workflow instance persist.

Pick

提供事件架構控制流程模型。Provides event-based control flow modeling.

PickBranch

Pick 活動內執行的潛在路徑。A potential path of execution within a Pick activity.

RemoveFromCollection<T>

從指定集合中移除項目。Removes an item from a specified collection.

Rethrow

擲回先前從 Catch 活動中擲回的例外狀況。Throws a previously thrown exception from within a Catch activity.

Sequence

根據單一定義的順序執行子活動集。Executes a set of child activities according to a single, defined ordering.

State

製作狀態機器可以具有之狀態的模型。Models the state which a state machine can be in.

StateMachine

使用熟悉的狀態機器開發架構製作工作流程的模型。Models workflows using the familiar state machine paradigm.

Switch<T>

根據此物件類型規範中指定類型的特定運算式值,從活動成員中選取要執行的一個選項。Selects one choice from a number of activities to execute, based on the value of a given expression of the type specified in this object's type specifier.

TerminateWorkflow

終止執行工作流程執行個體、引發主機中的 Completed 事件,並回報錯誤資訊。Terminates the running workflow instance, raises the Completed event in the host, and reports error information. 工作流程一旦終止即無法恢復。Once the workflow is terminated, it cannot be resumed.

Throw

擲回例外狀況。Throws an exception.

TimerExtension

計時器擴充的抽象基底類別。Abstract base class for timer extensions.

TransactionScope

可區分交易界限的活動。An activity that demarcates a transaction boundary.

Transition

製作可能狀態變更清單的模型。Models the list of possible state changes.

TryCatch

包含由例外狀況處理區塊中的工作流程執行階段所執行的活動。Contains activities to be executed by the workflow runtime in an exception handling block.

While

當條件為 true 時執行所包含的活動。Executes a contained activity while a condition evaluates to true.

WorkflowTerminatedException

在終止的 WorkflowApplication 上叫用操作時,所擲回的例外狀況。The exception that is thrown when an operation is invoked on a terminated WorkflowApplication.

WriteLine

將指定字串寫入至指定的 TextWriter 物件。Writes a specified string to a specified TextWriter object.