TransactionInterop.GetTransactionFromDtcTransaction(IDtcTransaction) 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.
Generates a Transaction from a specified IDtcTransaction.
public:
static System::Transactions::Transaction ^ GetTransactionFromDtcTransaction(System::Transactions::IDtcTransaction ^ transactionNative);
public static System.Transactions.Transaction GetTransactionFromDtcTransaction (System.Transactions.IDtcTransaction transactionNative);
static member GetTransactionFromDtcTransaction : System.Transactions.IDtcTransaction -> System.Transactions.Transaction
Public Shared Function GetTransactionFromDtcTransaction (transactionNative As IDtcTransaction) As Transaction
Parameters
- transactionNative
- IDtcTransaction
The IDtcTransaction object to be marshaled.
Returns
A Transaction instance that represents the given IDtcTransaction.
Remarks
The transactionNative
is compatible with the unmanaged form of ITransaction used by MSDTC and with the Managed form of ITransaction used by System.EnterpriseServices.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.