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.

Атрибуты

Применяется к