IMessageReceiver.CompleteAsync(IEnumerable<String>) 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.
Completes a series of Message using a list of lock tokens. This will delete the message from the service.
public System.Threading.Tasks.Task CompleteAsync (System.Collections.Generic.IEnumerable<string> lockTokens);
abstract member CompleteAsync : seq<string> -> System.Threading.Tasks.Task
Public Function CompleteAsync (lockTokens As IEnumerable(Of String)) As Task
Parameters
- lockTokens
- IEnumerable<String>
An IEnumerable<T> containing the lock tokens of the corresponding messages to complete.
Returns
Remarks
A lock token can be found in LockToken, only when ReceiveMode is set to PeekLock.
Applies to
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