Udostępnij za pośrednictwem


ConcurrencyLimiterMiddleware Klasa

Definicja

Przestroga

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

Ogranicza liczbę współbieżnych żądań dozwolonych w aplikacji.

public ref class ConcurrencyLimiterMiddleware
public class ConcurrencyLimiterMiddleware
[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 ConcurrencyLimiterMiddleware
type ConcurrencyLimiterMiddleware = 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 ConcurrencyLimiterMiddleware = class
Public Class ConcurrencyLimiterMiddleware
Dziedziczenie
ConcurrencyLimiterMiddleware
Atrybuty

Konstruktory

ConcurrencyLimiterMiddleware(RequestDelegate, ILoggerFactory, IQueuePolicy, IOptions<ConcurrencyLimiterOptions>)
Przestarzałe.

Tworzy nowy adres ConcurrencyLimiterMiddleware.

Metody

Invoke(HttpContext)
Przestarzałe.

Wywołuje logikę oprogramowania pośredniczącego.

Dotyczy