This documentation is archived and is not being maintained.

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.

Public classCorrelationPropertyRepresents a name and value pair used to correlate messages to specific receiving activities.
Public classCorrelationTokenManages the subscriptions of the CorrelationProperty to the owner activities. This class cannot be inherited.
Public classCorrelationTokenCollectionRepresents a collection of CorrelationToken classes. This class cannot be inherited.
Public classCorrelationTokenEventArgsContains the event data associated with the CorrelationToken. This class cannot be inherited.
Public classServicesExceptionNotHandledEventArgsProvides data for the WorkflowRuntime.ServicesExceptionNotHandled event.
Public classTimerEventSubscriptionRepresents a subscription to a timer event.
Public classTimerEventSubscriptionCollectionRepresents an ordered list of TimerEventSubscription objects.
Public classWorkflowCompletedEventArgsProvides data for the WorkflowCompleted event.
Public classWorkflowEnvironmentRepresents the transactional environment of the workflow instance that is running on the current thread.
Public classWorkflowEventArgsProvides data for workflow events.
Public classWorkflowInstanceRepresents a workflow instance.
Public classWorkflowOwnershipExceptionThe 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 classWorkflowQueueRepresents a workflow queue.
Public classWorkflowQueueInfoContains information about a WorkflowQueue.
Public classWorkflowQueuingServiceProvides the services for management of WorkflowQueue objects.
Public classWorkflowRuntimeRepresents the configurable execution environment provided by the workflow runtime engine for workflows.
Public classWorkflowRuntimeEventArgsProvides data for the WorkflowRuntime.Started and WorkflowRuntime.Stopped events.
Public classWorkflowSuspendedEventArgsProvides data for the WorkflowRuntime.WorkflowSuspended event.
Public classWorkflowTerminatedEventArgsProvides data for the WorkflowRuntime.WorkflowTerminated event.

Public interfaceIPendingWorkProvides methods to participate in a work batch.
Public interfaceIWorkBatchProvides methods to add work to a work batch.

Public enumerationWorkflowStatusSpecifies the status of a workflow instance.