ServiceBusSender.CancelScheduledMessageAsync(Int64, CancellationToken) 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.
Cancels a message that was scheduled.
public virtual System.Threading.Tasks.Task CancelScheduledMessageAsync(long sequenceNumber, System.Threading.CancellationToken cancellationToken = default);
abstract member CancelScheduledMessageAsync : int64 * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.CancelScheduledMessageAsync : int64 * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function CancelScheduledMessageAsync (sequenceNumber As Long, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- sequenceNumber
- Int64
The SequenceNumber of the message to be cancelled.
- cancellationToken
- CancellationToken
An optional CancellationToken instance to signal the request to cancel the operation.
Returns
Applies to
See also
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET