DefaultWorkflowCommitWorkBatchService DefaultWorkflowCommitWorkBatchService DefaultWorkflowCommitWorkBatchService DefaultWorkflowCommitWorkBatchService Class

Definition

Warning

This API is now obsolete.

Represents the default version of WorkflowCommitWorkBatchService created by the workflow runtime engine if no other WorkflowCommitWorkBatch service is added.

public ref class DefaultWorkflowCommitWorkBatchService : System::Workflow::Runtime::Hosting::WorkflowCommitWorkBatchService
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class DefaultWorkflowCommitWorkBatchService : System.Workflow.Runtime.Hosting.WorkflowCommitWorkBatchService
type DefaultWorkflowCommitWorkBatchService = class
    inherit WorkflowCommitWorkBatchService
Public Class DefaultWorkflowCommitWorkBatchService
Inherits WorkflowCommitWorkBatchService
Inheritance
Attributes

Remarks

Note

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

The WorkflowRuntime class creates a DefaultWorkflowCommitWorkBatchService object when the runtime engine is started if no other WorkflowCommitWorkBatch service has been added.

Constructors

DefaultWorkflowCommitWorkBatchService() DefaultWorkflowCommitWorkBatchService() DefaultWorkflowCommitWorkBatchService() DefaultWorkflowCommitWorkBatchService()

Initializes a DefaultWorkflowCommitWorkBatchService class.

DefaultWorkflowCommitWorkBatchService(NameValueCollection) DefaultWorkflowCommitWorkBatchService(NameValueCollection) DefaultWorkflowCommitWorkBatchService(NameValueCollection) DefaultWorkflowCommitWorkBatchService(NameValueCollection)

Initializes a SharedConnectionWorkflowCommitWorkBatchService class using a collection of parameters for initialization.

Properties

EnableRetries EnableRetries EnableRetries EnableRetries

Gets and sets a value specifying whether the DefaultWorkflowCommitWorkBatchService will retry committing a work batch.

Runtime Runtime Runtime Runtime

Gets the WorkflowRuntime for this service.

(Inherited from WorkflowRuntimeService)
State State State State

Gets the state of the WorkflowRuntimeService.

(Inherited from WorkflowRuntimeService)

Methods

CommitWorkBatch(WorkflowCommitWorkBatchService+CommitWorkBatchCallback) CommitWorkBatch(WorkflowCommitWorkBatchService+CommitWorkBatchCallback) CommitWorkBatch(WorkflowCommitWorkBatchService+CommitWorkBatchCallback) CommitWorkBatch(WorkflowCommitWorkBatchService+CommitWorkBatchCallback)

Creates a work batch if one does not exist.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnStarted() OnStarted() OnStarted() OnStarted()

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)
OnStopped() OnStopped() OnStopped() OnStopped()

Represents the method called when the workflow runtime raises the Stopped event.

RaiseServicesExceptionNotHandledEvent(Exception, Guid) RaiseServicesExceptionNotHandledEvent(Exception, Guid) RaiseServicesExceptionNotHandledEvent(Exception, Guid) RaiseServicesExceptionNotHandledEvent(Exception, Guid)

Raises the ServicesExceptionNotHandled event.

(Inherited from WorkflowRuntimeService)
Start() Start() Start() Start()

Represents the method called to start the service.

Stop() Stop() Stop() Stop()

When overridden in a derived class, stops the service and changes the State to Stopping.

(Inherited from WorkflowRuntimeService)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to