Bagikan melalui


ConcurrencyLimiterMiddleware Kelas

Definisi

Perhatian

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

Membatasi jumlah permintaan bersamaan yang diizinkan dalam aplikasi.

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
Warisan
ConcurrencyLimiterMiddleware
Atribut

Konstruktor

ConcurrencyLimiterMiddleware(RequestDelegate, ILoggerFactory, IQueuePolicy, IOptions<ConcurrencyLimiterOptions>)
Kedaluwarsa.

Membuat baru ConcurrencyLimiterMiddleware.

Metode

Invoke(HttpContext)
Kedaluwarsa.

Memanggil logika middleware.

Berlaku untuk