BYOT.CreateWithTransaction(Object, Type) Метод

Определение

Создает объект, вовлеченный в ручную транзакцию.

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

Параметры

transaction
Object

Объект ITransaction или Transaction, который задает транзакцию.

t
Type

Заданный тип.

Возвращаемое значение

Запрошенная транзакция.

Комментарии

CreateWithTransaction выполняет управляемый эквивалент метода ICreateWithTransaction::CreateInstanceкоординатора распределенных транзакций (DTC) COM+.

Применяется к