GetDtcTransaction Method

TransactionInterop.GetDtcTransaction Method (Transaction)

 

Gets an IDtcTransaction instance that represents a Transaction.  

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

public static IDtcTransaction GetDtcTransaction(
	Transaction transaction
)

Parameters

transaction
Type: System.Transactions.Transaction

A Transaction instance to be marshaled.

Return Value

Type: System.Transactions.IDtcTransaction

An IDtcTransaction instance that represents a Transaction.  The IDtcTransaction instance 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
Show:
© 2016 Microsoft