Freigeben über


BYOT.CreateWithTransaction(Object, Type) Methode

Definition

Erstellt ein Objekt, das in einer manuellen Transaktion eingetragen 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 oder das Transaction-Objekt, das eine Transaktion angibt.

t
Type

Der angegebene Typ.

Gibt zurück

Die angeforderte Transaktion.

Hinweise

CreateWithTransaction führt das verwaltete Äquivalent der DTC-Methode ICreateWithTransaction::CreateInstance(COM+ Distributed Transaction Coordinator) aus.

Gilt für: