SharedConnectionWorkflowCommitWorkBatchService Class
This page is specific to:.NET Framework Version:3.03.54.0
.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)
Syntax

'Usage

Dim instance As SharedConnectionWorkflowCommitWorkBatchService

'Declaration

Public Class SharedConnectionWorkflowCommitWorkBatchService _
    Inherits WorkflowCommitWorkBatchService
Remarks

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.

Inheritance Hierarchy

System..::.Object
  System.Workflow.Runtime.Hosting..::.WorkflowRuntimeService
    System.Workflow.Runtime.Hosting..::.WorkflowCommitWorkBatchService
      System.Workflow.Runtime.Hosting..::.SharedConnectionWorkflowCommitWorkBatchService
Thread Safety

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

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.
Version Information

.NET Framework

Supported in: 3.5, 3.0
See Also

Reference

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View