Partilhar via


TransactionInterop.GetTransactionFromDtcTransaction(IDtcTransaction) Método

Definição

Gera um Transaction de um IDtcTransaction especificado.

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

Parâmetros

transactionNative
IDtcTransaction

O objeto IDtcTransaction que terá marshal realizado.

Retornos

Uma instância Transaction que representa o IDtcTransaction determinado.

Comentários

O transactionNative é compatível com a forma não gerenciada de ITransaction usada pelo MSDTC e com a forma gerenciada de ITransaction usada por System.EnterpriseServices.

Aplica-se a