PROPID_M_VERSION (Compact 2013)

3/26/2014

This property specifies the version of MSMQ used to send the message.

  • Type Indicator
    VT_UI4
  • PROPVARIANT Field
    ulVal
  • Property Values
    The following return values are possible.

    Value

    Description

    0x0010

    MSMQ 1.0 was used to send the message.

    0x0020

    MSMQ 2.0 was used to send the message.

Remarks

The sending Queue Manager attaches PROPID_M_VERSION to the message when it is sent.

To find out what version of MSMQ the sending application is using, specify PROPID_M_VERSION in the MQMSGPROPS structure. Then, call MQReceiveMessage and examine the returned value.

This property is not available when you use COM components.

Note

OS versions prior to 2.12 require the MSMQ add-on pack.

Requirements

Header

mq.h

See Also

Reference

MSMQ Properties
MQReceiveMessage
MQMSGPROPS