共用方式為


ServiceBusSessionProcessorOptions.MaxConcurrentCallsPerSession Property

Definition

Gets or sets the maximum number of concurrent calls to the message handler the processor should initiate per session. Thus the total number of concurrent calls will be equal to MaxConcurrentSessions * MaxConcurrentCallsPerSession. The default value is 1.

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

Property Value

The maximum number of concurrent calls to the message handler for each session that is being processed.

Exceptions

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

Applies to