Message.ArrivedTime Message.ArrivedTime Message.ArrivedTime Message.ArrivedTime Property

Definition

Gets the time that the message arrived in the destination queue.

public:
 property DateTime ArrivedTime { DateTime get(); };
[System.Messaging.MessagingDescription("MsgArrivedTime")]
public DateTime ArrivedTime { get; }
member this.ArrivedTime : DateTime
Public ReadOnly Property ArrivedTime As DateTime

Property Value

A DateTime that represents the message's arrival time in the destination queue. The time is adjusted from GMT to the local time of the computer on which the destination queue resides.

Exceptions

The message has not been sent. This property can only be read on messages retrieved from a queue.

-or-

The message queue is filtered to ignore the ArrivedTime property.

Examples

The following code example displays the value of a message's ArrivedTime property.

Remarks

The message's TimeToBeReceived property indicates how quickly the message must be received from the destination queue. The TimeToBeReceived property timer starts when the message is sent, not when the message arrives in the queue.

Applies to

See also