ConcurrencyLimiterExtensions.UseConcurrencyLimiter 方法

定義

警告

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

ConcurrencyLimiterMiddleware加入 以限制並存執行的要求數目。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseConcurrencyLimiter(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseConcurrencyLimiter (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
[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 static Microsoft.AspNetCore.Builder.IApplicationBuilder UseConcurrencyLimiter (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseConcurrencyLimiter : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<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")>]
static member UseConcurrencyLimiter : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseConcurrencyLimiter (app As IApplicationBuilder) As IApplicationBuilder

參數

傳回

IApplicationBuilder

屬性

適用於