DefaultWorkflowCommitWorkBatchService 類別

定義

警告

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

代表如果沒有新增其他 WorkflowCommitWorkBatch 服務,工作流程執行引擎所建立的預設版本 WorkflowCommitWorkBatchService

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
屬性

備註

Note

此數據會討論已過時的類型和命名空間。 欲了解更多資訊,請參閱 Windows Workflow Foundation 4.5 中的 Deprecated Types。

當執行時引擎啟動時,若未新增其他 WorkflowCommitWorkBatch 服務,類別 WorkflowRuntime 會建立 DefaultWorkflowCommitWorkBatchService 物件。

建構函式

名稱 Description
DefaultWorkflowCommitWorkBatchService()
已淘汰.

初始化一個 DefaultWorkflowCommitWorkBatchService 類別。

DefaultWorkflowCommitWorkBatchService(NameValueCollection)
已淘汰.

使用一組初始化參數初始化 SharedConnectionWorkCommitWorkBatchService 類別。

屬性

名稱 Description
EnableRetries
已淘汰.

取得或設定一個值,指定是否 DefaultWorkflowCommitWorkBatchService 會重試提交工作批次。

Runtime
已淘汰.

為了這項服務,他得到了。WorkflowRuntime

(繼承來源 WorkflowRuntimeService)
State
已淘汰.

取得 的狀態 WorkflowRuntimeService

(繼承來源 WorkflowRuntimeService)

方法

名稱 Description
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)

適用於