Transaction.EnlistPromotableSinglePhase メソッド
アセンブリ: System.Transactions (system.transactions.dll 内)

Public Function EnlistPromotableSinglePhase ( _ promotableSinglePhaseNotification As IPromotableSinglePhaseNotification _ ) As Boolean
Dim instance As Transaction Dim promotableSinglePhaseNotification As IPromotableSinglePhaseNotification Dim returnValue As Boolean returnValue = instance.EnlistPromotableSinglePhase(promotableSinglePhaseNotification)
public bool EnlistPromotableSinglePhase ( IPromotableSinglePhaseNotification promotableSinglePhaseNotification )
public: bool EnlistPromotableSinglePhase ( IPromotableSinglePhaseNotification^ promotableSinglePhaseNotification )
public boolean EnlistPromotableSinglePhase ( IPromotableSinglePhaseNotification promotableSinglePhaseNotification )
public function EnlistPromotableSinglePhase ( promotableSinglePhaseNotification : IPromotableSinglePhaseNotification ) : boolean
戻り値
参加リストを示す SinglePhaseEnlistment インターフェイスの実装。

トランザクションの参加リストは揮発性です。つまり、参加リストには参加要素のエラーは保持されません。また、このメソッドでは、トランザクション マネージャだけが制御をエスカレートすることが推奨されますが、エスカレーション自体が保証されるわけではありません。エスカレーションが失敗した場合、ユーザーには通知されず、トランザクションはロールバックされます。
promotableSinglePhaseNotification パラメータを使用して、リソース マネージャの内部トランザクションのコミットを試みた結果をトランザクション マネージャに伝達します。一貫性のないデータが報告された場合、トランザクション マネージャは例外をスローします。InDoubt の結果が報告されると、トランザクション マネージャはその内部参加リストで結果通知を検索し、報告された応答を無視します。
トランザクションの参加リストとエスカレーションの詳細については、「トランザクション管理の昇格」を参照してください。PSPE の詳細については、「単一フェーズ コミットと昇格可能な単一フェーズ通知を使用した最適化」を参照してください。
メモ このメソッドは、LinkDemand を使用して信頼関係のないコードからの呼び出しを防ぎます。ただし、FullTrust アクセス許可セットを保持する必要があるのは、直前の呼び出し元だけです。

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からTransaction.EnlistPromotableSinglePhase メソッドを検索する場合は、下記のリンクをクリックしてください。

- Transaction.EnlistPromotableSinglePhase メソッドのページへのリンク