SALES: 1-800-867-1380

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)

'Declaration
Public Property ScheduledEnqueueTimeUtc As DateTime
	Get
	Set
'Usage
Dim instance As BrokeredMessage
Dim value As DateTime

value = instance.ScheduledEnqueueTimeUtc

instance.ScheduledEnqueueTimeUtc = value

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.

ExceptionCondition
ObjectDisposedException

Thrown if the message is in disposed state.

ArgumentOutOfRangeException

Thrown if the passed in value is DateTime.MaxValue.

Message enqueuing 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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft