This topic has not yet been rated - Rate this topic

System.Workflow.Runtime.Hosting Namespace

Contains classes that are related to services provided to the workflow runtime engine by the host application.

This namespace contains base classes that must be used by a host application that wants to provide custom services for any of the core services used by the workflow runtime engine, except for tracking services; classes related to tracking are contained in the System.Workflow.Runtime.Tracking namespace. The default services used by the workflow runtime engine for required core services that are not explicitly defined and registered with the workflow runtime by your host application are also contained in this namespace.

  Class Description
Public class ChannelManagerService Provides functionality for constructing client-side channels, caching channels, and channel factories.
Public class DefaultWorkflowCommitWorkBatchService Represents the default version of WorkflowCommitWorkBatchService created by the workflow runtime engine if no other WorkflowCommitWorkBatch service is added.
Public class DefaultWorkflowLoaderService Represents the default version of WorkflowLoaderService created by the workflow runtime engine if no other workflow loader service is added.
Public class DefaultWorkflowSchedulerService Creates and manages the threads that run workflow instances on the workflow runtime engine.
Public class ManualWorkflowSchedulerService Provides a threading service that allows the host application creating a workflow instance to donate the Thread on which the workflow instance is run. Using this threading service, host applications can run a workflow instance on a single Thread in synchronous mode (although if the workflow contains a delay activity, the work is postponed until after the delay activity is executed on a separate thread spawned by [System.Threading.Timer]).This mode blocks the execution of the host application until the workflow instance becomes idle. Subsequently, the workflow instance can only be executed using the RunWorkflow method of this service.
Public class PersistenceException The exception that is thrown when the persistence service cannot fulfill a request.
Public class SharedConnectionWorkflowCommitWorkBatchService Represents the shared-connection version of the WorkflowCommitWorkBatchService service used by the runtime. In this context, shared-connection means that the service uses the same SQL connection for both the tracking and persistence services.
Public class SqlPersistenceWorkflowInstanceDescription Describes the workflow instances that are stored in the SqlWorkflowPersistenceService.
Public class SqlWorkflowPersistenceService Represents a persistence service that uses a SQL database to store workflow state information.
Public class WorkflowCommitWorkBatchService Allows custom logic for the commitment of work batches.
Public class WorkflowLoaderService The abstract base class from which workflow loader services are derived.
Public class WorkflowPersistenceService The abstract base class from which all persistence services are derived.
Public class WorkflowRuntimeService The abstract base class from which the workflow runtime engine core services are derived.
Public class WorkflowSchedulerService Provides a mechanism to implement your own thread pool to execute the workflow and manage in-memory timer registration and events.
Public class WorkflowWebHostingModule Provides a mechanism for routing the workflow instance ID to and from a WorkflowWebService to a cookie in the Web client. This class cannot be inherited.
  Enumeration Description
Public enumeration WorkflowRuntimeServiceState Specifies the state of the WorkflowRuntimeService.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ