System.Workflow.Runtime Namespace ()

Switch View :
ScriptFree
.NET Framework Class Library
System.Workflow.Runtime Namespace

Contains classes and interfaces that you can use to control the workflow runtime engine and the execution of a workflow instance.

The System.Workflow.Runtime namespace contains the WorkflowRuntime class, which you can use to configure, control, and subscribe to events for the workflow runtime engine associated with your application domain. The WorkflowInstance class provides a proxy to each workflow instance and lets you control the execution of a workflow. In addition to these classes, several classes having to do with workflow event queues and with exceptions thrown by the workflow runtime engine are contained in this namespace.

Classes

  Class Description
Public class CorrelationProperty Represents a name and value pair used to correlate messages to specific receiving activities.
Public class CorrelationToken Manages the subscriptions of the CorrelationProperty to the owner activities. This class cannot be inherited.
Public class CorrelationTokenCollection Represents a collection of CorrelationToken classes. This class cannot be inherited.
Public class CorrelationTokenEventArgs Contains the event data associated with the CorrelationToken. This class cannot be inherited.
Public class ServicesExceptionNotHandledEventArgs Provides data for the WorkflowRuntime.ServicesExceptionNotHandled event.
Public class TimerEventSubscription Represents a subscription to a timer event.
Public class TimerEventSubscriptionCollection Represents an ordered list of TimerEventSubscription objects.
Public class WorkflowCompletedEventArgs Provides data for the WorkflowCompleted event.
Public class WorkflowEnvironment Represents the transactional environment of the workflow instance that is running on the current thread.
Public class WorkflowEventArgs Provides data for workflow events.
Public class WorkflowInstance Represents a workflow instance.
Public class WorkflowOwnershipException The exception that is thrown when the workflow runtime engine attempts to load a workflow instance that is currently loaded by another workflow runtime engine instance. Additionally, this exception is thrown when the workflow runtime engine attempts to save a workflow after the ownership timeout that was specified while loading the workflow has expired.
Public class WorkflowQueue Represents a workflow queue.
Public class WorkflowQueueInfo Contains information about a WorkflowQueue.
Public class WorkflowQueuingService Provides the services for management of WorkflowQueue objects.
Public class WorkflowRuntime Represents the configurable execution environment provided by the workflow run-time engine for workflows.
Public class WorkflowRuntimeEventArgs Provides data for the WorkflowRuntime.Started and WorkflowRuntime.Stopped events.
Public class WorkflowSuspendedEventArgs Provides data for the WorkflowRuntime.WorkflowSuspended event.
Public class WorkflowTerminatedEventArgs Provides data for the WorkflowRuntime.WorkflowTerminated event.
Interfaces

  Interface Description
Public interface IPendingWork Provides methods to participate in a work batch.
Public interface IWorkBatch Provides methods to add work to a work batch.
Enumerations

  Enumeration Description
Public enumeration WorkflowStatus Specifies the status of a workflow instance.