Sdílet prostřednictvím


ConcurrencyLimiterOptions Třída

Definice

Upozornění

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

Určuje možnosti pro 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
Dědičnost
ConcurrencyLimiterOptions
Atributy

Konstruktory

ConcurrencyLimiterOptions()
Zastaralé.

Určuje možnosti pro ConcurrencyLimiterMiddleware.

Vlastnosti

OnRejected
Zastaralé.

A RequestDelegate , který zpracovává požadavky odmítnuté tímto middlewarem. Pokud se odpověď nezmění, zapíše se prázdná odpověď 503.

Platí pro