SharedConnectionWorkflowCommitWorkBatchService 類別

定義

警告

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

代表執行階段使用之共用連線版本的 WorkflowCommitWorkBatchService 服務。 在此內容中,共用連線表示服務在追蹤服務和持續性服務中使用相同的 SQL 連線。

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

備註

注意

此資料討論已被汰換的類型及命名空間。 如需詳細資訊,請參閱 Windows Workflow Foundation 4.5 中即將淘汰的類型

SharedConnectionWorkflowCommitWorkBatchService 服務是用於在不同物件之間使用共用連線的資料庫異動。 若要在您的 SharedConnectionWorkflowCommitWorkBatchService 執行個體中使用 DefaultWorkflowCommitWorkBatchService 取代 WorkflowRuntime,請使用 AddService 方法。

重要

如果 SharedConnectionWorkflowCommitWorkBatchService 使用的 SQL Server 因 SQL 叢集容錯移轉或間歇性的網路問題導致關閉,SharedConnectionWorkflowCommitWorkBatchService 將在引發 ServicesExceptionNotHandled 事件之前,重試最多 20 次的認可程序。

建構函式

SharedConnectionWorkflowCommitWorkBatchService(NameValueCollection)
已淘汰.

初始化 SharedConnectionWorkflowCommitWorkBatchService 類別。

SharedConnectionWorkflowCommitWorkBatchService(String)
已淘汰.

使用資料庫連線字串初始化 SharedConnectionWorkflowCommitWorkBatchService 類別。

屬性

EnableRetries
已淘汰.

取得或設定值,指定 SharedConnectionWorkflowCommitWorkBatchService 是否會重試認可工作批次。

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()
已淘汰.

在衍生類別中覆寫時,停止服務並將 State 變更為 Stopping

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

傳回代表目前物件的字串。

(繼承來源 Object)

適用於