Clone Method

Transaction::Clone Method ()


Creates a clone of the transaction.

Namespace:   System.Transactions
Assembly:  System.Transactions (in System.Transactions.dll)

Transaction^ Clone()

Return Value

Type: System.Transactions::Transaction^

A Transaction that is a copy of the current transaction object.

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.

.NET Framework
Available since 2.0
Return to top
© 2016 Microsoft