Поделиться через


ConcurrencyLimiterOptions Класс

Определение

Внимание!

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

Задает параметры для 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
Наследование
ConcurrencyLimiterOptions
Атрибуты

Конструкторы

ConcurrencyLimiterOptions()
Устаревшие..

Задает параметры для ConcurrencyLimiterMiddleware.

Свойства

OnRejected
Устаревшие..

Объект RequestDelegate , обрабатывающий запросы, отклоненные этим ПО промежуточного слоя. Если ответ не изменится, будет записан пустой ответ 503.

Применяется к