TransactionInterop.GetDtcTransaction(Transaction) Método

Definición

Obtiene una instancia de IDtcTransaction que representa Transaction.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

Parámetros

transaction
Transaction

Instancia de Transaction de la que se van a calcular las referencias.A Transaction instance to be marshaled.

Devoluciones

Instancia de IDtcTransaction que representa Transaction.An IDtcTransaction instance that represents a Transaction. La instancia de IDtcTransaction es compatible con el formulario no administrado de ITransaction que utiliza MSDTC y con el formulario administrado de ITransaction que System.EnterpriseServices utiliza.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.

Se aplica a