Udostępnij za pośrednictwem


ConcurrencyLimiterOptions 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

Określa opcje dla .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
Dziedziczenie
ConcurrencyLimiterOptions
Atrybuty

Konstruktory

ConcurrencyLimiterOptions()
Przestarzałe.

Określa opcje dla .ConcurrencyLimiterMiddleware

Właściwości

OnRejected
Przestarzałe.

Element RequestDelegate , który obsługuje żądania odrzucone przez to oprogramowanie pośredniczące. Jeśli odpowiedź nie zostanie zmodyfikowana, zostanie zapisana pusta odpowiedź 503.

Dotyczy