ServiceBusSender.CancelScheduledMessagesAsync 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 set of messages that were scheduled.
public virtual System.Threading.Tasks.Task CancelScheduledMessagesAsync (System.Collections.Generic.IEnumerable<long> sequenceNumbers, System.Threading.CancellationToken cancellationToken = default);
abstract member CancelScheduledMessagesAsync : seq<int64> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.CancelScheduledMessagesAsync : seq<int64> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function CancelScheduledMessagesAsync (sequenceNumbers As IEnumerable(Of Long), Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- sequenceNumbers
- IEnumerable<Int64>
The set of SequenceNumber of the messages to be cancelled.
- cancellationToken
- CancellationToken
An optional CancellationToken instance to signal the request to cancel the operation.
Returns
Applies to
See also
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET