DefaultWorkflowCommitWorkBatchService 类

定义

注意

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

表示工作流运行时引擎创建的默认版本 WorkflowCommitWorkBatchService (如果未添加其他 WorkflowCommitWorkBatch 服务)。

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
继承
DefaultWorkflowCommitWorkBatchService
属性

注解

注意

此材料讨论已过时的类型和命名空间。 有关详细信息,请参阅 Windows Workflow Foundation 4.50 中的 Deprecated Types。

如果未添加其他 WorkflowCommitWorkBatch 服务,则当运行时引擎启动时,该 WorkflowRuntime 类将创建一个 DefaultWorkflowCommitWorkBatchService 对象。

构造函数

名称 说明
DefaultWorkflowCommitWorkBatchService()
已过时.

初始化类 DefaultWorkflowCommitWorkBatchService

DefaultWorkflowCommitWorkBatchService(NameValueCollection)
已过时.

使用用于初始化的参数集合初始化 SharedConnectionWorkflowCommitWorkBatchService 类。

属性

名称 说明
EnableRetries
已过时.

获取或设置一个值,该值 DefaultWorkflowCommitWorkBatchService 指定是否将重试提交工作批处理。

Runtime
已过时.

获取 WorkflowRuntime 此服务。

(继承自 WorkflowRuntimeService)
State
已过时.

获取 . 的状态 WorkflowRuntimeService

(继承自 WorkflowRuntimeService)

方法

名称 说明
CommitWorkBatch(WorkflowCommitWorkBatchService+CommitWorkBatchCallback)
已过时.

创建工作批处理(如果不存在)。

Equals(Object)
已过时.

确定指定的对象是否等于当前对象。

(继承自 Object)
GetHashCode()
已过时.

用作默认哈希函数。

(继承自 Object)
GetType()
已过时.

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()
已过时.

创建当前 Object的浅表副本。

(继承自 Object)
OnStarted()
已过时.

在派生类中重写时,表示在工作流运行时引擎引发 Started 事件时将调用的方法。

(继承自 WorkflowRuntimeService)
OnStopped()
已过时.

表示工作流运行时引发 Stopped 事件时调用的方法。

RaiseServicesExceptionNotHandledEvent(Exception, Guid)
已过时.

引发 ServicesExceptionNotHandled 事件。

(继承自 WorkflowRuntimeService)
Start()
已过时.

表示调用以启动服务的方法。

Stop()
已过时.

在派生类中重写时,停止服务并将更改 StateStopping

(继承自 WorkflowRuntimeService)
ToString()
已过时.

返回一个表示当前对象的字符串。

(继承自 Object)

适用于