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.

Namespace: System.Workflow.Runtime.Hosting
Assembly: System.Workflow.Runtime (in system.workflow.runtime.dll)

public class SharedConnectionWorkflowCommitWorkBatchService : WorkflowCommitWorkBatchService
public class SharedConnectionWorkflowCommitWorkBatchService extends WorkflowCommitWorkBatchService
public class SharedConnectionWorkflowCommitWorkBatchService extends WorkflowCommitWorkBatchService
Not applicable.

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.

NoteImportant:

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.Object
   System.Workflow.Runtime.Hosting.WorkflowRuntimeService
     System.Workflow.Runtime.Hosting.WorkflowCommitWorkBatchService
      System.Workflow.Runtime.Hosting.SharedConnectionWorkflowCommitWorkBatchService

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show: