Creating BYOT Objects

A new BYOT object creates objects with manual transactions. The two interfaces, ICreateWithTransactionEx and ICreateWithTipTransactionEx, have a single method, CreateInstance, which take an ITransaction interface pointer and TIP URL, respectively. CreateInstance returns an interface pointer to the newly created object, which is enlisted within the specified transaction.

When an object with a manual transaction is released, COM+ does not attempt to commit the transaction. The transaction is controlled explicitly by the external transaction manager that dispensed the transaction under which this object had been created.

Note

The Byot.ByotServerEx object needs to be imported into a COM+ application.