संपादित करें

इसके माध्यम से साझा किया गया


System.Activities.Statements Namespace

Provides classes related to activity statements.

Classes

AddToCollection<T>

Adds an item to a specified collection.

Assign

Sets Argument values from within a workflow.

Assign<T>

The Assign activity is used to set Argument values from within a workflow.

CancellationScope

Associates cancellation logic, in the form of a Activity, with a main path of execution, also expressed as a Activity.

Catch

Contains the actions to be executed after an exception is thrown in the corresponding Try block of a Finally activity.

Catch<TException>

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

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

Provides a means to explicitly confirm or compensate a CompensableActivity once the Body of the CompensableActivity has successfully completed.

Confirm

An activity used to explicitly invoke the confirmation handler of a CompensableActivity.

CreateBookmarkScope

Creates a BookmarkScope.

Delay

Creates a timer for a specified duration, using a TimerExtension.

DeleteBookmarkScope

Deletes the BookmarkScope referenced by Scope.

DoWhile

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

A specialized FlowNode that provides the ability to model a conditional node with two outcomes.

FlowNode

The abstract base class for all the different node types that can be contained within a Flowchart activity.

FlowStep

A FlowNode element that executes a specified Action and has a Next pointer.

FlowSwitch<T>

A specialized FlowNode that allows modeling a switch construct, with one expression and one outcome for each match.

ForEach<T>

Executes an activity action once for each value provided in the Values collection.

HandleScope<THandle>

Provides default scoping behavior for Handle objects.

If

Models an If-Then-Else condition.

Interop

An activity that manages the execution of an Activity within a workflow.

InvokeAction

Invokes an activity's ActivityAction handler.

InvokeAction<T>

Invokes an activity's ActivityAction<T> handler.

InvokeAction<T1,T2>

Invokes an activity's ActivityAction<T1,T2> handler.

InvokeAction<T1,T2,T3>

Invokes an activity's ActivityAction<T1,T2,T3> handler.

InvokeAction<T1,T2,T3,T4>

Invokes an activity's ActivityAction<T1,T2,T3,T4> handler.

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

Invokes an activity's ActivityAction<T1,T2,T3,T4,T5> handler.

InvokeAction<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>

Invokes an activity's ActivityAction<T1,T2,T3,T4,T5,T6,T7> handler.

InvokeAction<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>

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>

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>

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>

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>

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>

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>

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>

Invokes an activity's ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> handler.

InvokeDelegate

Invokes the specified ActivityDelegate.

InvokeMethod

Calls a public method of a specified object or type.

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

A potential path of execution within a Pick activity.

RemoveFromCollection<T>

Removes an item from a specified collection.

Rethrow

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

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

Executes a contained activity while a condition evaluates to true.

WorkflowTerminatedException

The exception that is thrown when an operation is invoked on a terminated WorkflowApplication.

WriteLine

Writes a specified string to a specified TextWriter object.