System.Workflow.Runtime.Hosting 命名空間

提供與 Windows Workflow Foundation 執行階段裝載相關的類別。 Provides classes related to Windows Workflow Foundation runtime hosting.

類別

ChannelManagerService

提供建構用戶端通道、快取通道與通道處理站的功能。Provides functionality for constructing client-side channels, caching channels, and channel factories.

DefaultWorkflowCommitWorkBatchService

代表沒有加入任何其他 WorkflowCommitWorkBatch 服務時,由工作流程執行階段引擎建立的預設版本 WorkflowCommitWorkBatchServiceRepresents the default version of WorkflowCommitWorkBatchService created by the workflow runtime engine if no other WorkflowCommitWorkBatch service is added.

DefaultWorkflowLoaderService

代表沒有加入任何其他工作流程載入器服務時,由工作流程執行階段引擎建立的預設版本 WorkflowLoaderServiceRepresents the default version of WorkflowLoaderService created by the workflow runtime engine if no other workflow loader service is added.

DefaultWorkflowSchedulerService

建立和管理在工作流程執行階段引擎上執行工作流程執行個體的執行緒。Creates and manages the threads that run workflow instances on the workflow runtime engine.

ManualWorkflowSchedulerService

提供執行緒服務,該服務允許主應用程式建立工作流程執行個體,以提供工作流程執行個體執行所在的 ThreadProvides a threading service that allows the host application creating a workflow instance to donate the Thread on which the workflow instance is run. 使用此執行緒服務,主應用程式可以在同步模式下針對單一 Thread 執行工作流程執行個體 (但是如果工作流程包含延遲活動,工作則會延期,直到針對 Timer 所繁衍的個別執行緒執行延遲活動之後為止)。在工作流程執行個體變成閒置之前,此模式將無法執行主應用程式。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 Timer).This mode blocks the execution of the host application until the workflow instance becomes idle. 接著,只有透過使用此服務的 RunWorkflow(Guid) 方法才能執行工作流程執行個體。Subsequently, the workflow instance can only be executed using the RunWorkflow(Guid) method of this service.

PersistenceException

持續性服務無法完成要求時所擲回的例外狀況。The exception that is thrown when the persistence service cannot fulfill a request.

SharedConnectionWorkflowCommitWorkBatchService

代表執行階段使用之共用連線版本的 WorkflowCommitWorkBatchService 服務。Represents the shared-connection version of the WorkflowCommitWorkBatchService service used by the runtime. 在此內容中,共用連線表示服務在追蹤服務和持續性服務中使用相同的 SQL 連線。In this context, shared-connection means that the service uses the same SQL connection for both the tracking and persistence services.

SqlPersistenceWorkflowInstanceDescription

描述儲存在 SqlWorkflowPersistenceService 中的工作流程執行個體。Describes the workflow instances that are stored in the SqlWorkflowPersistenceService.

SqlWorkflowPersistenceService

代表使用 SQL 資料庫儲存工作流程狀態資訊的持續性服務。Represents a persistence service that uses a SQL database to store workflow state information.

WorkflowCommitWorkBatchService

允許認可工作批次的自訂邏輯。Allows custom logic for the commitment of work batches.

WorkflowLoaderService

工作流程載入器服務是衍生自此抽象基底類別。The abstract base class from which workflow loader services are derived.

WorkflowPersistenceService

所有持續性服務都是衍生自此抽象基底類別。The abstract base class from which all persistence services are derived.

WorkflowRuntimeService

表示抽象基底類別,工作流程執行階段引擎核心服務由此衍生。Represents the abstract base class from which the workflow runtime engine core services are derived.

WorkflowSchedulerService

提供一個實作您自己的執行緒集區的機制,以執行工作流程和管理記憶體計時器登錄與事件。Provides a mechanism to implement your own thread pool to execute the workflow and manage in-memory timer registration and events.

WorkflowWebHostingModule

提供一個機制以便在 WorkflowWebService 和 Web 用戶端的 Cookie 之間來回傳送工作流程執行個體 ID。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.

列舉

WorkflowRuntimeServiceState

指定 WorkflowRuntimeService 的狀態。Specifies the state of the WorkflowRuntimeService.

委派

WorkflowCommitWorkBatchService.CommitWorkBatchCallback

認可 WorkflowCommitWorkBatchService 工作批次。Commits a WorkflowCommitWorkBatchService work batch.