Condividi tramite


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
DateTimeOffset

Time of enqueue

Returns

Sequence number that is needed for cancelling.

Applies to