QueueClient.ScheduleMessageAsync(BrokeredMessage, DateTimeOffset) QueueClient.ScheduleMessageAsync(BrokeredMessage, DateTimeOffset) QueueClient.ScheduleMessageAsync(BrokeredMessage, DateTimeOffset) Method

Definition

Sends a scheduled message

public System.Threading.Tasks.Task<long> ScheduleMessageAsync (Microsoft.ServiceBus.Messaging.BrokeredMessage message, DateTimeOffset scheduleEnqueueTimeUtc);
member this.ScheduleMessageAsync : Microsoft.ServiceBus.Messaging.BrokeredMessage * DateTimeOffset -> System.Threading.Tasks.Task<int64>
Public Function ScheduleMessageAsync (message As BrokeredMessage, scheduleEnqueueTimeUtc As DateTimeOffset) As Task(Of Long)
Parameters
message
BrokeredMessage BrokeredMessage BrokeredMessage

Message to be scheduled

scheduleEnqueueTimeUtc
DateTimeOffset DateTimeOffset DateTimeOffset

Time of enqueue

Returns

Sequence number that is needed for cancelling.

Applies to