Bewerken

Delen via


DefaultWorkflowCommitWorkBatchService Class

Definition

Caution

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

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
public 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
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type DefaultWorkflowCommitWorkBatchService = class
    inherit WorkflowCommitWorkBatchService
Public Class DefaultWorkflowCommitWorkBatchService
Inherits WorkflowCommitWorkBatchService
Inheritance
DefaultWorkflowCommitWorkBatchService
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()

Initializes a DefaultWorkflowCommitWorkBatchService class.

DefaultWorkflowCommitWorkBatchService(NameValueCollection)

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

Properties

EnableRetries

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

Runtime

Gets the WorkflowRuntime for this service.

(Inherited from WorkflowRuntimeService)
State

Gets the state of the WorkflowRuntimeService.

(Inherited from WorkflowRuntimeService)

Methods

CommitWorkBatch(WorkflowCommitWorkBatchService+CommitWorkBatchCallback)

Creates a work batch if one does not exist.

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
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()

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

RaiseServicesExceptionNotHandledEvent(Exception, Guid)

Raises the ServicesExceptionNotHandled event.

(Inherited from WorkflowRuntimeService)
Start()

Represents the method called to start the service.

Stop()

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

(Inherited from WorkflowRuntimeService)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to