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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om