MessageSender.ScheduleMessageAsync(Message, 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.
Schedules a message to appear on Service Bus at a later time.
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>
override this.ScheduleMessageAsync : Microsoft.Azure.ServiceBus.Message * DateTimeOffset -> System.Threading.Tasks.Task<int64>
Public Function ScheduleMessageAsync (message As Message, scheduleEnqueueTimeUtc As DateTimeOffset) As Task(Of Long)
Parameters
- scheduleEnqueueTimeUtc
- DateTimeOffset
The UTC time at which the message should be available for processing
Returns
The sequence number of the message that was scheduled.
Implements
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