語言

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

備註

Note

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

此 SharedConnectionWorkflowCommitWorkBatchService 服務用於使用不同物件間共享連線的資料庫交易。 在你的SharedConnectionWorkflowCommitWorkBatchService實例中使用 the DefaultWorkflowCommitWorkBatchService 代替 the WorkflowRuntime ,請使用 the AddService method。

Important

如果所 SharedConnectionWorkflowCommitWorkBatchService 使用的 SQL 伺服器因 SQL 叢集故障轉移或間歇性網路問題而當機,該 SharedConnectionWorkflowCommitWorkBatchService 伺服器會在提出 ServicesExceptionNotHandled 事件前重試提交程序最多 20 次。

建構函式

名稱 Description
SharedConnectionWorkflowCommitWorkBatchService(NameValueCollection)
已淘汰.

初始化一個 SharedConnectionWorkflowCommitWorkBatchService 類別。

SharedConnectionWorkflowCommitWorkBatchService(String)
已淘汰.

利用資料庫連接字串初始化一個 SharedConnectionWorkflowCommitWorkBatchService 類別。

屬性

名稱 Description
EnableRetries
已淘汰.

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

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

當在導出類別中被覆寫時,會停止服務並將 變更 State 為 Stopping。

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

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

(繼承來源 Object)

適用於