What does HRESULT 0xC00E001A (MQ_ERROR_BUFFER_OVERFLOW) mean?

 
Previous Next
MQ_ERROR_ILLEGAL_PROPERTY_VT MQ_ERROR_IO_TIMEOUT

MQ_ERROR_BUFFER_OVERFLOW

MQ_ERROR_BUFFER_OVERFLOW means that a buffer supplied for a message property was too small to receive all of the returned data. For a message body, Message Queuing returns PROPID_M_BODY_SIZE, which can be used to allocate a sufficiently large buffer before retrying the receive.

How to recover

  • Request the matching length property together with each variable-size property such as the message body or extension.
  • Use the returned length to allocate a larger buffer, then repeat the applicable receive or lookup call.
  • Do not process a partially copied property as if it were a complete message payload.

Microsoft: PROPID_M_BODY_SIZE


Looking for a different code? Search another status or error code.