| Previous | Next |
| XACT_S_ASYNC | XACT_S_READONLY |
XACT_S_DEFECT
Transaction API returned the reserved XACT_S_DEFECT status
XACT_S_DEFECT is HRESULT 315393 (0x0004D001) from winerror.h. The documented description is “this result.” The severity bit indicates a nonfailure result, but the value carries a specific condition that must not be collapsed into plain S_OK.
In the COM transaction and MSDTC protocol, this result means that it. Handling is complete only after the caller verifies what work occurred and what remains outstanding.
What must be true before accepting it
Verify that the owning API and implementation define the meaning because Microsoft’s public status table provides no semantic expansion beyond the symbolic constant. Failure to prove the boundary can make this result look healthy while the intended operation remains unfinished.
Classify the operation phase reached at this result before releasing objects or issuing replacement work.
Where the status is encountered
- It can be returned during ITransaction commit or abort processing; log the exact method and object state instead of interpreting the constant outside that contract.
- It can be returned during resource-manager enlistment and coordinated outcomes; log the exact method and object state instead of interpreting the constant outside that contract.
- It can be returned during transaction event-sink notification passes; log the exact method and object state instead of interpreting the constant outside that contract.
Evidence to preserve
- Preserve interface and method name.
- Preserve transaction state before and after.
- Preserve component version.
- Preserve resource enlistments.
- Preserve coordinator trace around the return.
Correct handling and recovery
Preserve the exact method, implementation version, and transaction state. Do not invent a retry or commit interpretation; escalate with a minimal reproduction and coordinator traces.
Practical scenario
A legacy transaction sink returns it during a compatibility test. The team records the interface call and implementation build and avoids mapping it to an unrelated failure.
References
- Microsoft: COM transaction status codes — official Microsoft material relevant to this HRESULT.
- Microsoft: ITransaction::Commit
- Microsoft: ITransaction::Abort
- Microsoft: HRESULT values
Looking for a different code? Search another status or error code.