Sprache

BYOT.CreateWithTransaction(Object, Type) Methode

Definition

Erstellt ein Objekt, das innerhalb einer manuellen Transaktion aufgelistet ist.

public:
 static System::Object ^ CreateWithTransaction(System::Object ^ transaction, Type ^ t);
public static object CreateWithTransaction(object transaction, Type t);
static member CreateWithTransaction : obj * Type -> obj
Public Shared Function CreateWithTransaction (transaction As Object, t As Type) As Object

Parameter

transaction
Object

Das ITransaction Objekt, Transaction das eine Transaktion angibt.

t
Type

Der angegebene Typ.

Gibt zurück

Die angeforderte Transaktion.

Hinweise

CreateWithTransaction führt die verwaltete Entsprechung der COM+Distributed Transaction Coordinator (DTC)-Methode ICreateWithTransaction::CreateInstanceaus.

Gilt für: