Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
ConcurrencyLimiterOptions Class
Definition
- Namespace:
- System.Threading.RateLimiting
- Assembly:
- System.Threading.RateLimiting.dll
- Package:
- System.Threading.RateLimiting v11.0.0-preview.5.26302.115
- Source:
- ConcurrencyLimiterOptions.cs
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 ref class ConcurrencyLimiterOptions sealed
public sealed class ConcurrencyLimiterOptions
type ConcurrencyLimiterOptions = class
Public NotInheritable Class ConcurrencyLimiterOptions
- Inheritance
-
ConcurrencyLimiterOptions
Constructors
| Name | Description |
|---|---|
| ConcurrencyLimiterOptions() | |
Properties
| Name | Description |
|---|---|
| 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
Was this page helpful?
