ConcurrencyLimiterOptions Klasa
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
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. |