Compartilhar via


MSMQMessage.ArrivedTime

 

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

The ArrivedTime property of the MSMQMessage object indicates when the message arrived at the queue.

Data type: Variant (Date)
Run-time access: Read-only
Property ArrivedTime As Variant  

Property Value

A Variant (Date) containing the date and time when the message arrived.

Remarks

The value returned for this property can be manipulated using standard Microsoft® Visual Basic® date and time functions such as Date$ and Time$. For descriptions of Visual Basic functions, see the Visual Basic documentation.

When you read messages from a queue journal, the ArrivedTime value indicates when the original message reached its destination queue, not when the original message was removed from that queue and a copy placed in the queue journal.

When you read messages from the computer journal, dead-letter queue, or transactional dead-letter queue, ArrivedTime indicates when the message reached the system queue where the application is reading the message. In these cases, the original message never reached its destination.

When ArrivedTime is displayed, Visual Basic automatically converts the parameter value to the local system time and system date.

Equivalent API Function Property

With API function calls, the equivalent property is PROPID_M_ARRIVEDTIME.

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_ARRIVEDTIME