Gets or sets the number of messages that the queue receiver can simultaneously request.
Assembly: Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
Return to top
You can useto fetch multiple messages from the server in the same round-trip. This can be useful in scenarios that need lower latency for receiving existing messages from a queue or subscription. Prefetch can also improve throughput depending upon the scenarios as the number of round-trips to the server are reduced.
Prefetch is disabled by default. You can enable it by using this property on the client. You must setbefore receiving the first message.