SharedConnectionWorkflowCommitWorkBatchService Class
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.
Assembly: System.Workflow.Runtime (in System.Workflow.Runtime.dll)
The SharedConnectionWorkflowCommitWorkBatchService service is used for database transactions that use a shared connection between different objects. To use the SharedConnectionWorkflowCommitWorkBatchService instead of the DefaultWorkflowCommitWorkBatchService in your WorkflowRuntime instance, use the AddService method.
Important Note: |
|---|
If the SQL server used by the SharedConnectionWorkflowCommitWorkBatchService is down such as that caused by SQL cluster failovers or intermittent network issues, the SharedConnectionWorkflowCommitWorkBatchService will retry the commit process up to 20 times before raising a ServicesExceptionNotHandled event. |
System.Workflow.Runtime.Hosting.WorkflowRuntimeService
System.Workflow.Runtime.Hosting.WorkflowCommitWorkBatchService
System.Workflow.Runtime.Hosting.SharedConnectionWorkflowCommitWorkBatchService
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Important Note: