Redigera

Dela via


MessageQueueCriteria.CreatedBefore Property

Definition

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

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

Property Value

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

Exceptions

The application did not set the CreatedBefore 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 CreatedBefore, there is no lower boundary on the date.

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

Applies to

See also