MSMQMessage.ArrivedTime (Windows CE 5.0)
This read-only property indicates when the message arrived at the queue.
HRESULT get_ArrivedTime( VARIANT* plArrivedTime);
Parameters
- plArrivedTime
Date and time when the message arrived.
Return Values
The following table describes the common return values.
Value | Description |
---|---|
S_OK | Success |
E_INVALIDARG | One or more arguments are invalid |
E_NOTIMPL | The function contains no implementation |
E_OUTOFMEMORY | Out of memory |
Remarks
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 reading messages from a 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.
You can also retrieve the arrival time of a message when using Message Queuing function calls.
For information on | See |
---|---|
Retrieving the arrived time using Message Queuing function calls | PROPID_M_ARRIVEDTIME |
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Mqoai.h.
Link Library: Mqoa.lib.
See Also
MSMQMessage | PROPID_M_ARRIVEDTIME
Send Feedback on this topic to the authors