Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Enables you to configure the transaction that you use when you bring your own transaction.
Syntax
HRESULT ConfigureBYOT(
[in] ITransaction *pITxByot
);
Parameters
[in] pITxByot
A pointer to the ITransaction interface of the existing transaction in which you want to run the enclosed code.
Return value
This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_FAIL, and S_OK.
Remarks
When you bring your own transaction, that transaction's settings override the settings from the inherited methods of the IServiceTransactionConfig interface.
The ConfigureBYOT and the IServiceTransactionConfigBase::BringYourOwnTransaction methods are identical in behavior; the only difference is the type of parameter passed to each method.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP with SP1 [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Target Platform | Windows |
| Header | comsvcs.h |