Редагувати

Поділитися через


MessageQueueCriteria.ModifiedBefore Property

Definition

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

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

Property Value

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

Exceptions

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

Remarks

A queue's modification flag is set when you change the properties of a queue, but not when a message is read or written to the queue.

The MessageQueueCriteria properties are combined using a logical AND, so setting both ModifiedBefore and ModifiedAfter bounds a time interval for the queues' last modification. If you set only ModifiedBefore, there is no lower boundary on the date.

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

Applies to

See also