System.Messaging Reference (Document! X Sample)
CreatedBefore Property



System.Messaging Namespace > MessageQueueCriteria Class : CreatedBefore Property
Gets or sets the upper boundary of the queue creation date and time by which to filter queues on the network.
Syntax
'Declaration
 
Public Property CreatedBefore As Date
'Usage
 
Dim instance As MessageQueueCriteria
Dim value As Date
 
instance.CreatedBefore = value
 
value = instance.CreatedBefore
public DateTime CreatedBefore {get; set;}
public:
property DateTime CreatedBefore {
   DateTime get();
   void set (    DateTime value);
}

Property Value

A System.DateTime that specifies the upper boundary for a queue's creation date and time.
Exceptions
ExceptionDescription
The application did not set the CreatedBefore property before reading it.
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

MessageQueueCriteria Class
MessageQueueCriteria Members