QueueClient.CompleteBatch(IEnumerable<Guid>) 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 processing of a message batch.
public void CompleteBatch (System.Collections.Generic.IEnumerable<Guid> lockTokens);
abstract member CompleteBatch : seq<Guid> -> unit
override this.CompleteBatch : seq<Guid> -> unit
Public Sub CompleteBatch (lockTokens As IEnumerable(Of Guid))
Parameters
- lockTokens
- IEnumerable<Guid>
The lock tokens associated with locked messages in the batch.
Remarks
This method is used as a handshake between the client and Service Bus for a guaranteed delivery of the message. If the client failed before calling this method, the message will be kept in the queue.