Dela via


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.

public ref class ConcurrencyLimiterOptions
public class ConcurrencyLimiterOptions
[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
type ConcurrencyLimiterOptions = class
[<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")>]
type ConcurrencyLimiterOptions = class
Public Class ConcurrencyLimiterOptions
Inheritance
ConcurrencyLimiterOptions
Attributes

Constructors

ConcurrencyLimiterOptions()

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