ServiceBusSessionProcessor.UpdateConcurrency(Int32, Int32) Method
Definition
Important
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET