This documentation is archived and is not being maintained.
System.Workflow.Runtime Namespace
Visual Studio 2010
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.
| Class | Description | |
|---|---|---|
![]() | CorrelationProperty | Represents a name and value pair used to correlate messages to specific receiving activities. |
![]() | CorrelationToken | Manages the subscriptions of the CorrelationProperty to the owner activities. This class cannot be inherited. |
![]() | CorrelationTokenCollection | Represents a collection of CorrelationToken classes. This class cannot be inherited. |
![]() | CorrelationTokenEventArgs | Contains the event data associated with the CorrelationToken. This class cannot be inherited. |
![]() | ServicesExceptionNotHandledEventArgs | Provides data for the WorkflowRuntime::ServicesExceptionNotHandled event. |
![]() | TimerEventSubscription | Represents a subscription to a timer event. |
![]() | TimerEventSubscriptionCollection | Represents an ordered list of TimerEventSubscription objects. |
![]() | WorkflowCompletedEventArgs | Provides data for the WorkflowCompleted event. |
![]() | WorkflowEnvironment | Represents the transactional environment of the workflow instance that is running on the current thread. |
![]() | WorkflowEventArgs | Provides data for workflow events. |
![]() | WorkflowInstance | Represents a workflow instance. |
![]() | 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. |
![]() | WorkflowQueue | Represents a workflow queue. |
![]() | WorkflowQueueInfo | Contains information about a WorkflowQueue. |
![]() | WorkflowQueuingService | Provides the services for management of WorkflowQueue objects. |
![]() | WorkflowRuntime | Represents the configurable execution environment provided by the workflow run-time engine for workflows. |
![]() | WorkflowRuntimeEventArgs | Provides data for the WorkflowRuntime::Started and WorkflowRuntime::Stopped events. |
![]() | WorkflowSuspendedEventArgs | Provides data for the WorkflowRuntime::WorkflowSuspended event. |
![]() | WorkflowTerminatedEventArgs | Provides data for the WorkflowRuntime::WorkflowTerminated event. |
| Interface | Description | |
|---|---|---|
![]() | IPendingWork | Provides methods to participate in a work batch. |
![]() | IWorkBatch | Provides methods to add work to a work batch. |
| Enumeration | Description | |
|---|---|---|
![]() | WorkflowStatus | Specifies the status of a workflow instance. |
Show:


