TransactionInterop.GetDtcTransaction Method (Transaction)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: