1 out of 1 rated this helpful - Rate this topic

BrokeredMessage.ScheduledEnqueueTimeUtc Property

Gets or sets the date and time in UTC at which the message will be enqueued. This property returns the time in UTC; when setting the property, the supplied DateTime value must also be in UTC.

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
public DateTime ScheduledEnqueueTimeUtc { get; set; }

Property Value

Type: System.DateTime
The scheduled enqueue time in UTC. This value is for delayed message sending. It is utilized to delay messages sending to a specific time in the future.
Exception Condition
ObjectDisposedException

Thrown if the message is in disposed state.

ArgumentOutOfRangeException

Thrown if the passed in value is DateTime.MaxValue.

Message enquing time does not mean that the message will be sent at the same time. It will get enqueued, but the actual sending time depends on the queue's workload and its state.

Did you find this helpful?
(1500 characters remaining)