Connection Workflow Commit Work Batch Service Class
This API is now obsolete.
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.
public ref class SharedConnectionWorkflowCommitWorkBatchService : System::Workflow::Runtime::Hosting::WorkflowCommitWorkBatchService
public class SharedConnectionWorkflowCommitWorkBatchService : System.Workflow.Runtime.Hosting.WorkflowCommitWorkBatchService
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")] public class SharedConnectionWorkflowCommitWorkBatchService : System.Workflow.Runtime.Hosting.WorkflowCommitWorkBatchService
type SharedConnectionWorkflowCommitWorkBatchService = class inherit WorkflowCommitWorkBatchService
Public Class SharedConnectionWorkflowCommitWorkBatchService Inherits WorkflowCommitWorkBatchService
This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.
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.
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.
Initializes a SharedConnectionWorkflowCommitWorkBatchService class.
Initializes a SharedConnectionWorkflowCommitWorkBatchService class using a database connection string.
Gets or sets a value specifying whether the SharedConnectionWorkflowCommitWorkBatchService will retry committing a work batch.
Gets the WorkflowRuntime for this service.(Inherited from WorkflowRuntimeService)
Gets the state of the WorkflowRuntimeService.(Inherited from WorkflowRuntimeService)
Creates a transaction if one does not exist.
Determines whether the specified object is equal to the current object.(Inherited from Object)
Serves as the default hash function.(Inherited from Object)
Gets the Type of the current instance.(Inherited from Object)
Creates a shallow copy of the current Object.(Inherited from Object)
When overridden in a derived class, represents the method that will be called when the workflow runtime engine raises the Started event.(Inherited from WorkflowRuntimeService)
Represents the method called when the workflow runtime raises the Stopped event.
Raises the ServicesExceptionNotHandled event.(Inherited from WorkflowRuntimeService)
Represents the method called to start the service.
Returns a string that represents the current object.(Inherited from Object)