TopicClient.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

Message to be scheduled

scheduleEnqueueTimeUtc
System.DateTimeOffset

Time of enqueue

Returns

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

Sequence number that is needed for cancelling.

Applies to