ISenderClient.ScheduleMessageAsync(Message, DateTimeOffset) Method

Definition

Schedules a message to appear on Service Bus.

public System.Threading.Tasks.Task<long> ScheduleMessageAsync (Microsoft.Azure.ServiceBus.Message message, DateTimeOffset scheduleEnqueueTimeUtc);
abstract member ScheduleMessageAsync : Microsoft.Azure.ServiceBus.Message * DateTimeOffset -> System.Threading.Tasks.Task<int64>

Parameters

message
Message

The Message

scheduleEnqueueTimeUtc
System.DateTimeOffset

The UTC time that the message should be available for processing

Returns

System.Threading.Tasks.Task<System.Int64>

The sequence number of the message that was scheduled.

Applies to