Click to Rate and Give Feedback
Collapse All/Expand All Collapse All
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
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)
Visual Basic (Declaration)
Public Class SharedConnectionWorkflowCommitWorkBatchService _
    Inherits WorkflowCommitWorkBatchService
Visual Basic (Usage)
Dim instance As SharedConnectionWorkflowCommitWorkBatchService
C#
public class SharedConnectionWorkflowCommitWorkBatchService : WorkflowCommitWorkBatchService
Visual C++
public ref class SharedConnectionWorkflowCommitWorkBatchService : public WorkflowCommitWorkBatchService
JScript
public class SharedConnectionWorkflowCommitWorkBatchService extends WorkflowCommitWorkBatchService

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 noteImportant 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..::.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 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.

.NET Framework

Supported in: 3.5, 3.0
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2010 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker