Creates a clone of the transaction.
Assembly: System.Transactions (in System.Transactions.dll)
Syntax . . :: . Transaction
A Transaction that is a copy of the current transaction object.
Public Function Clone As Transactionpublic Transaction Clone()public:
Transaction^ Clone()member Clone : unit -> Transaction
Return Value
Type: System.TransactionsA Transaction that is a copy of the current transaction object.
Remarks
Clones are created to pass transactions. For example, you might not want to pass a CommittableTransaction to other applications, because you do not want others to commit your transaction. If you try to marshal or serialize a transaction, a clone is created for you automatically.
Platforms
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.