ITransactionStatus::SetTransactionStatus method (comsvcs.h)

Sets the transaction status to either committed or aborted. Do not use this method. It is used only internally by COM+.

Syntax

HRESULT SetTransactionStatus(
  [in] HRESULT hrStatus
);

Parameters

[in] hrStatus

The status of the transaction.

Return value

This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_FAIL, and S_OK.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header comsvcs.h

See also

ITransactionStatus