IServiceTransactionConfigBase::TransactionTimeout method (comsvcs.h)
Sets the transaction time-out for a new transaction.
Syntax
HRESULT TransactionTimeout(
[in] ULONG ulTimeoutSec
);
Parameters
[in] ulTimeoutSec
The transaction time-out, in seconds.
Return value
This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_FAIL, and S_OK.
Remarks
If the transaction does not either commit or abort within the transaction time-out period, the transaction must automatically abort. This method is ignored if the new context enlists as a nonroot transaction or does not use transactions.
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 |