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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.