Partilhar via


ConcurrencyLimiterOptions Classe

Definição

Cuidado

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

Especifica opções para o 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
Herança
ConcurrencyLimiterOptions
Atributos

Construtores

ConcurrencyLimiterOptions()
Obsoleto.

Especifica opções para o ConcurrencyLimiterMiddleware.

Propriedades

OnRejected
Obsoleto.

Um RequestDelegate que lida com solicitações rejeitadas por esse middleware. Se ela não modificar a resposta, uma resposta 503 vazia será gravada.

Aplica-se a