TransactionInterop.GetExportCookie メソッド
メモ : このメソッドは、.NET Framework version 2.0 で新しく追加されたものです。
トランザクション オブジェクトをエクスポート トランザクション Cookie に変換します。
名前空間: System.Transactions
アセンブリ: System.Transactions (system.transactions.dll 内)
構文
Public Shared Function GetExportCookie ( _ transaction As Transaction, _ whereabouts As Byte() _ ) As Byte()
Dim transaction As Transaction Dim whereabouts As Byte() Dim returnValue As Byte() returnValue = TransactionInterop.GetExportCookie(transaction, whereabouts)
public static byte[] GetExportCookie ( Transaction transaction, byte[] whereabouts )
public: static array<unsigned char>^ GetExportCookie ( Transaction^ transaction, array<unsigned char>^ whereabouts )
public static byte[] GetExportCookie ( Transaction transaction, byte[] whereabouts )
public static function GetExportCookie ( transaction : Transaction, whereabouts : byte[] ) : byte[]

トランザクションをエクスポートする場合は、このメソッドを呼び出します。転送される transaction は、トランザクション Cookie にマーシャリングされます。このトランザクション Cookie を目的のプロセスに送信できます。これを、プロセスまたはシステム間でのトランザクションの反映と言います。この反映は、ローカル トランザクションが反映先にプッシュされるプッシュ モデルと考えることができます。したがって、whereabouts に格納される情報は、目的のトランザクション マネージャを示している必要があります。

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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- TransactionInterop.GetExportCookie メソッドのページへのリンク