ConcurrencyLimiterOptions Class

Definition

Caution

Concurrency Limiter middleware has been deprecated and will be removed in a future release. Update the app to use concurrency features in rate limiting middleware. For more information, see https://aka.ms/aspnet/rate-limiting

Specifies options for the ConcurrencyLimiterMiddleware.

C#
public class ConcurrencyLimiterOptions
C#
[System.Obsolete("Concurrency Limiter middleware has been deprecated and will be removed in a future release. Update the app to use concurrency features in rate limiting middleware. For more information, see https://aka.ms/aspnet/rate-limiting")]
public class ConcurrencyLimiterOptions
Inheritance
ConcurrencyLimiterOptions
Attributes

Constructors

Properties

OnRejected

A RequestDelegate that handles requests rejected by this middleware. If it doesn't modify the response, an empty 503 response will be written.

Applies to

Tuote Versiot (Vanhentunut)
ASP.NET Core 3.0, 3.1, 5.0, 6.0, 7.0 (8.0, 9.0)