Transaction.PromoteAndEnlistDurable メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
トランザクションに参加するための 2 フェーズ コミットをサポートする永続的なリソース マネージャーを昇格および参加させます。
public:
System::Transactions::Enlistment ^ PromoteAndEnlistDurable(Guid resourceManagerIdentifier, System::Transactions::IPromotableSinglePhaseNotification ^ promotableNotification, System::Transactions::ISinglePhaseNotification ^ enlistmentNotification, System::Transactions::EnlistmentOptions enlistmentOptions);
public System.Transactions.Enlistment PromoteAndEnlistDurable(Guid resourceManagerIdentifier, System.Transactions.IPromotableSinglePhaseNotification promotableNotification, System.Transactions.ISinglePhaseNotification enlistmentNotification, System.Transactions.EnlistmentOptions enlistmentOptions);
member this.PromoteAndEnlistDurable : Guid * System.Transactions.IPromotableSinglePhaseNotification * System.Transactions.ISinglePhaseNotification * System.Transactions.EnlistmentOptions -> System.Transactions.Enlistment
Public Function PromoteAndEnlistDurable (resourceManagerIdentifier As Guid, promotableNotification As IPromotableSinglePhaseNotification, enlistmentNotification As ISinglePhaseNotification, enlistmentOptions As EnlistmentOptions) As Enlistment
パラメーター
- resourceManagerIdentifier
- Guid
リソース マネージャーの一意の識別子。リソース マネージャーの障害または再起動の間に保持されます。
- promotableNotification
- IPromotableSinglePhaseNotification
リソース マネージャー内部の非分散トランザクションのコミット デリゲートとして機能するオブジェクト。
- enlistmentNotification
- ISinglePhaseNotification
2 つのフェーズ コミット通知を受信する IEnlistmentNotification インターフェイスを実装するオブジェクト。
- enlistmentOptions
- EnlistmentOptions
EnlistDuringPrepareRequired リソース マネージャーが準備フェーズ中に追加の作業を実行する場合は〘。