Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

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 ArrivedTimevalue 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, ArrivedTimeindicates 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

Header mqoai.h
Library mqoa.lib
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also