ConcurrencyLimiterOptions Class
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.
Options to specify the behavior of a ConcurrencyLimiter.
public sealed class ConcurrencyLimiterOptions
type ConcurrencyLimiterOptions = class
Public NotInheritable Class ConcurrencyLimiterOptions
- Inheritance
-
ConcurrencyLimiterOptions
Constructors
ConcurrencyLimiterOptions() |
Properties
PermitLimit |
Maximum number of permits that can be leased concurrently. Must be set to a value > 0 by the time these options are passed to the constructor of ConcurrencyLimiter. |
QueueLimit |
Maximum number of permits that can be queued concurrently. Must be set to a value >= 0 by the time these options are passed to the constructor of ConcurrencyLimiter. |
QueueProcessingOrder |
Determines the behaviour of AcquireAsync(Int32, CancellationToken) when not enough resources can be leased. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for