Share via


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

ServiceBusSessionProcessor.UpdateConcurrency(Int32, Int32) 方法

定义

汇报处理器的并发性。 此方法可用于动态更改正在运行的处理器的并发性。

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

参数

maxConcurrentSessions
Int32

新的最大并发会话值。 这将反映在 属性中 MaxConcurrentSessions

maxConcurrentCallsPerSession
Int32

每个会话值的新最大并发调用数。 这将反映在 中 MaxConcurrentCallsPerSession

适用于