ArrivedTime Property (Message)
Gets the time that the message arrived in the destination queue.
Syntax
'Declaration <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> <MessagingDescriptionAttribute("Indicates when the message arrived at the queue.")> Public ReadOnly Property ArrivedTime As Date
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [MessagingDescription("Indicates when the message arrived at the queue.")] public DateTime ArrivedTime {get;}
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [MessagingDescription("Indicates when the message arrived at the queue.")] public: property DateTime ArrivedTime { DateTime get(); }
Property Value
A System.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
Exception | Description |
---|---|
System.InvalidOperationException | 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. |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also