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
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.