MSMQMessage.ArrivedTime (Compact 2013)
3/26/2014
This read-only property indicates when the message arrived at the queue.
Syntax
HRESULT get_ArrivedTime(
VARIANT* plArrivedTime
);
Parameters
- plArrivedTime
Date and time when the message arrived.
Return Value
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 |
Requirements
Header |
mqoai.h |
Library |
mqoa.lib |