Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

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 MQMSGPROPSstructure. Then, call MQReceiveMessageand 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
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also