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 型」を参照してください。

SharedConnectionWorkflowCommitWorkBatchService サービスは、異なるオブジェクト間の共有接続を使用するデータベース トランザクションに使用されます。 WorkflowRuntime インスタンスでDefaultWorkflowCommitWorkBatchServiceの代わりにSharedConnectionWorkflowCommitWorkBatchServiceを使用するには、AddService メソッドを使用します。

Important

SQL クラスターのフェールオーバーや断続的なネットワークの問題など、 SharedConnectionWorkflowCommitWorkBatchService によって使用される 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()
古い.

派生クラスでオーバーライドされると、サービスを停止し、 StateStoppingに変更します。

(継承元 WorkflowRuntimeService)
ToString()
古い.

現在のオブジェクトを表す文字列を返します。

(継承元 Object)

適用対象