Share via


ServiceBusSessionProcessorOptions.MaxConcurrentSessions Property

Definition

Gets or sets the maximum number of sessions that can be processed concurrently by the processor.

public int MaxConcurrentSessions { get; set; }
member this.MaxConcurrentSessions : int with get, set
Public Property MaxConcurrentSessions As Integer

Property Value

The maximum number of concurrent sessions to process. The default value is 8.

Exceptions

A value that is not positive is attempted to be set for the property.

Applies to