Partager via


ConcurrencyLimiterMiddleware Classe

Définition

Attention

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

Limite le nombre de demandes simultanées autorisées dans l’application.

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
Héritage
ConcurrencyLimiterMiddleware
Attributs

Constructeurs

ConcurrencyLimiterMiddleware(RequestDelegate, ILoggerFactory, IQueuePolicy, IOptions<ConcurrencyLimiterOptions>)
Obsolète.

Crée un ConcurrencyLimiterMiddleware.

Méthodes

Invoke(HttpContext)
Obsolète.

Appelle la logique du middleware.

S’applique à