你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ServiceBusSessionProcessor.UpdateConcurrency(Int32, Int32) Method

Definition

Updates the concurrency for the processor. This method can be used to dynamically change the concurrency of a running processor.

public void UpdateConcurrency(int maxConcurrentSessions, int maxConcurrentCallsPerSession);
member this.UpdateConcurrency : int * int -> unit
Public Sub UpdateConcurrency (maxConcurrentSessions As Integer, maxConcurrentCallsPerSession As Integer)

Parameters

maxConcurrentSessions
Int32

The new max concurrent sessions value. This will be reflected in the MaxConcurrentSessionsproperty.

maxConcurrentCallsPerSession
Int32

The new max concurrent calls per session value. This will be reflect in the MaxConcurrentCallsPerSession.

Applies to