Edit

Share via


MessageQueueCriteria.CreatedAfter Property

Definition

Gets or sets the lower boundary of the queue creation date and time by which to filter queues on the network.

public:
 property DateTime CreatedAfter { DateTime get(); void set(DateTime value); };
public DateTime CreatedAfter { get; set; }
member this.CreatedAfter : DateTime with get, set
Public Property CreatedAfter As DateTime

Property Value

A DateTime that specifies the lower boundary for a queue's creation date and time.

Exceptions

The application did not set the CreatedAfter property before reading it.

Remarks

The MessageQueueCriteria properties are combined using a logical AND, so setting both CreatedAfter and CreatedBefore bounds a time interval for the queues' creation. If you set only CreatedAfter, there is no upper boundary on the date.

If you try to set CreatedAfter to a later DateTime value than CreatedBefore, CreatedBefore is reset to the same (new) value as CreatedAfter.

Applies to

See also