PROPID_M_SENTTIME

The PROPID_M_SENTTIME property indicates the date and time that the message was sent by the source Queue Manager.

Type Indicator
VT_UI4 (or VT_NULL)
PROPVARIANT Field
ulVal

Remarks

The PROPID_M_SENTTIME property is attached to the message by MSMQ. The time returned is the number of seconds elapsed since midnight (00:00:00), January 1, 1970 (Coordinated Universal time) according to the system clock.

To see when a message was sent, pass PROPID_M_SENTTIME to MQReceiveMessage, and examine the returned value. When passing PROPID_M_SENTTIME to MQReceiveMessage, the corresponding VT field in the aPropVar array can be set to VT_NULL.

For information on how to find out when the message arrived at the target queue, see PROPID_M_ARRIVEDTIME.

See Also

MQReceiveMessage, PROPID_M_ARRIVEDTIME


© 1997 by Microsoft Corporation. All rights reserved.