TransactionInterop.GetTransactionFromDtcTransaction Method (IDtcTransaction)


Generates a Transaction from a specified IDtcTransaction.

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

public static Transaction GetTransactionFromDtcTransaction(
	IDtcTransaction transactionNative


Type: System.Transactions.IDtcTransaction

The IDtcTransaction object to be marshaled.

Return Value

Type: System.Transactions.Transaction

A Transaction instance that represents the given IDtcTransaction.

The transactionNative is compatible with the unmanaged form of ITransaction used by MSDTC and with the Managed form of ITransaction used by System.EnterpriseServices

.NET Framework
Available since 2.0
Return to top