QueueClient.ScheduleMessageAsync(BrokeredMessage, DateTimeOffset) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET