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



System.Messaging Namespace > MessagePropertyFilter Class : SentTime Property
Gets or sets a value that indicates whether to retrieve SentTime property information when receiving or peeking a message.
Syntax
'Declaration
 
<MessagingDescriptionAttribute("Indicates the date and time that the message was sent by the source Queue Manager.")>
<DefaultValueAttribute()>
Public Property SentTime As Boolean
'Usage
 
Dim instance As MessagePropertyFilter
Dim value As Boolean
 
instance.SentTime = value
 
value = instance.SentTime
[MessagingDescription("Indicates the date and time that the message was sent by the source Queue Manager.")]
[DefaultValue()]
public bool SentTime {get; set;}
[MessagingDescription("Indicates the date and time that the message was sent by the source Queue Manager.")]
[DefaultValue()]
public:
property bool SentTime {
   bool get();
   void set (    bool value);
}

Property Value

true to receive SentTime information; otherwise, false. The default is false.
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

MessagePropertyFilter Class
MessagePropertyFilter Members