Sdílet prostřednictvím


BrokeredMessage.ScheduledEnqueueTimeUtc Property

Definition

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.

public DateTime ScheduledEnqueueTimeUtc { get; set; }
member this.ScheduledEnqueueTimeUtc : DateTime with get, set
Public Property ScheduledEnqueueTimeUtc As DateTime

Property Value

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.

Exceptions

Thrown if the message is in disposed state.

Thrown if the passed in value is DateTime.MaxValue.

Remarks

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.

Applies to