ServiceBusReceiverOptions Class
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 set of options that can be specified when creating a ServiceBusReceiver to configure its behavior.
public class ServiceBusReceiverOptions
type ServiceBusReceiverOptions = class
Public Class ServiceBusReceiverOptions
- Inheritance
-
ServiceBusReceiverOptions
Constructors
ServiceBusReceiverOptions() |
Properties
Identifier |
A property used to set the ServiceBusReceiver ID to identify the client. This can be used to correlate logs
and exceptions. If |
PrefetchCount |
Gets or sets the number of messages that will be eagerly requested from Queues or Subscriptions and queued locally without regard to whether the receiver is actively receiving, intended to help maximize throughput by allowing the receiver to receive from a local cache rather than waiting on a service request. |
ReceiveMode |
Gets or sets the ReceiveMode used to specify how messages are received. Defaults to PeekLock mode. |
SubQueue |
Gets or sets the subqueue to connect the receiver to. By default, the receiver will not connect to a subqueue. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應