Partager via


MSMQMessage.SenderVersion

 

Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista

(Introduced in MSMQ 2.0.) The SenderVersion property of the MSMQMessage object specifies the wire format used to send the message.

Data type: Long
Run time access: Read-only
Property SenderVersion As Long  

Property Value

The only valid value returned by the SenderVersion property is 0x00000010, which indicates that the message was sent with the wire format supported by MSMQ 1.0, MSMQ 2.0, and MSMQ 3.0.

Remarks

The sending queue manager sets SenderVersion when the message is sent.

Equivalent API Function Property

With API function calls, the equivalent property is PROPID_M_VERSION.

Requirements

Windows NT/2000/XP: Included in Windows NT 4.0 SP3 and later.

Windows 95/98/Me: Included in Windows 95 and later.

Header: Declared in Mqoai.h.

Library: Use Mqoa.lib.

See Also

MSMQMessage
PROPID_M_VERSION