System.Messaging Reference (Document! X Sample)
SentTime Property (Message)



System.Messaging Namespace > Message Class : SentTime Property
Gets the date and time on the sending computer that the message was sent by the source queue manager.
Syntax
'Declaration
 
Public ReadOnly Property SentTime As Date
'Usage
 
Dim instance As Message
Dim value As Date
 
value = instance.SentTime
public DateTime SentTime {get;}
public:
property DateTime SentTime {
   DateTime get();
}

Property Value

A System.DateTime that represents the time the message was sent.
Exceptions
ExceptionDescription
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 SentTime 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

Reference

Message Class
Message Members