Bus Processor Options Class
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 ServiceBusProcessor to configure its behavior.
public class ServiceBusProcessorOptions
type ServiceBusProcessorOptions = class
Public Class ServiceBusProcessorOptions
Gets or sets a value that indicates whether the processor should automatically complete messages after the ProcessMessageAsync handler has completed processing. If the message handler triggers an exception, the message will not be automatically completed.
Gets or sets the maximum duration within which the lock will be renewed automatically. This value should be greater than the longest message lock duration; for example, the LockDuration Property.
Gets or sets the maximum number of concurrent calls to the message handler the processor should initiate.
Gets or sets the number of messages that will be eagerly requested from Queues or Subscriptions and queued locally, intended to help maximize throughput by allowing the processor to receive from a local cache rather than waiting on a service request.
Gets or sets the ReceiveMode used to specify how messages are received.
Gets or sets the subqueue to connect the processor to.