ConcurrencyLimiterMiddleware 類別

定義

警告

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

限制應用程式中允許的並行要求數目。

C#
public class ConcurrencyLimiterMiddleware
C#
[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
繼承
ConcurrencyLimiterMiddleware
屬性

建構函式

方法

Invoke(HttpContext)
已淘汰.

叫用中介軟體的邏輯。

適用於

產品 版本 (已過時)
ASP.NET Core 3.0, 3.1, 5.0, 6.0, 7.0 (8.0, 9.0)