Partager via


MSMQMessage.ArrivedTime (Windows Embedded CE 6.0)

1/6/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 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

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

See Also

Reference

MSMQMessage
PROPID_M_ARRIVEDTIME