Message.ArrivedTime Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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; }
[<System.Messaging.MessagingDescription("MsgArrivedTime")>]
member this.ArrivedTime : DateTime
Public ReadOnly Property ArrivedTime As DateTime
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.
- Attributes
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.
The following code example displays the value of a message's ArrivedTime property.
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.
Product | Versions |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: