| Previous | Next |
| MF_E_NET_TIMEOUT | MF_E_NET_BAD_CONTROL_DATA |
MF_E_NET_CLIENT_CLOSE
MF_E_NET_CLIENT_CLOSE means the control connection was closed locally by the client. It often follows cancellation, shutdown, a source stop request, or an application lifecycle race.
What to check for MF_E_NET_CLIENT_CLOSE
- Check whether application code called stop, close, or cancellation before the network operation completed.
- Inspect concurrent state changes around media session shutdown.
- Treat this as a local lifecycle signal before looking for a server-side fault.
Microsoft: Networking in Media Foundation
Microsoft: Media Foundation client logging
Diagnostic interpretation of MF_E_NET_CLIENT_CLOSE
MF_E_NET_CLIENT_CLOSE has the HRESULT value 0xC00D4279. AllStat records the condition as “The control socket is closed by the client.%0”. For MF_E_NET_CLIENT_CLOSE, in practice, interpret that wording at the boundary owned by Media Foundation or Windows media pipeline state, rather than treating the value as a generic Windows message.
Evidence to capture for MF_E_NET_CLIENT_CLOSE
- Record the exact COM method or Windows API, its input object, the calling thread, and the full 0xC00D4279 value before a wrapper converts it to an exception or Boolean result.
- Capture any IErrorInfo text, activity identifier, event-log entry, and subsystem trace that mentions MF_E_NET_CLIENT_CLOSE or the mf / net / client / close operation.
- For MF_E_NET_CLIENT_CLOSE, check the documented return contract of the specific API because the same HRESULT can require different recovery in different interfaces.
Retry and recovery for MF_E_NET_CLIENT_CLOSE
Retry MF_E_NET_CLIENT_CLOSE only when the owning API documents a transient state or after the condition described as “The control socket is closed by the client.%0” has changed. For MF_E_NET_CLIENT_CLOSE, configuration, policy, format, and authorization failures normally require correction first; an immediate loop can hide the original call site and add secondary errors.
Looking for a different code? Search another status or error code.