QueueClient.ScheduleMessageAsync Method

Definition

Sends a scheduled message

public System.Threading.Tasks.Task<long> ScheduleMessageAsync (Microsoft.ServiceBus.Messaging.BrokeredMessage message, DateTimeOffset scheduleEnqueueTimeUtc);
Parameters
message
BrokeredMessage

Message to be scheduled

scheduleEnqueueTimeUtc
DateTimeOffset

Time of enqueue

Returns

Sequence number that is needed for cancelling.