TransactionInterop.GetDtcTransaction(Transaction) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an IDtcTransaction instance that represents a Transaction.
public:
static System::Transactions::IDtcTransaction ^ GetDtcTransaction(System::Transactions::Transaction ^ transaction);
public static System.Transactions.IDtcTransaction GetDtcTransaction (System.Transactions.Transaction transaction);
static member GetDtcTransaction : System.Transactions.Transaction -> System.Transactions.IDtcTransaction
Public Shared Function GetDtcTransaction (transaction As Transaction) As IDtcTransaction
Parameters
- transaction
- Transaction
A Transaction instance to be marshaled.
Returns
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.
Applies to
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk