IServiceTransactionConfigBase::BringYourOwnTransaction method (comsvcs.h)
Enables you to run the enclosed code in an existing transaction that you provide.
Syntax
HRESULT BringYourOwnTransaction(
[in] LPCWSTR szTipURL
);
Parameters
[in] szTipURL
The Transaction Internet Protocol (TIP) URL 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 IServiceTransactionConfigBase interface.
The IServiceTransactionConfig::ConfigureBYOT and the 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 |