言語

Transaction.PromoteAndEnlistDurable メソッド

定義

トランザクションに参加するための 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 リソース マネージャーが準備フェーズ中に追加の作業を実行する場合は〘。

返品

適用対象