ServiceBusReceiver.PrefetchCount Property
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.
The number of messages that will be eagerly requested from Queues or Subscriptions and queued locally without regard to whether a processing is currently active, intended to help maximize throughput by allowing the receiver to receive from a local cache rather than waiting on a service request
public virtual int PrefetchCount { get; }
member this.PrefetchCount : int
Public Overridable ReadOnly Property PrefetchCount As Integer
Property Value
The option to auto complete messages is specified when creating the receiver using PrefetchCount and has a default value of 0.
Applies to
Azure SDK for .NET