Partager via


ConcurrencyLimiterExtensions.UseConcurrencyLimiter Méthode

Définition

Attention

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

Ajoute le ConcurrencyLimiterMiddleware pour limiter le nombre de requêtes exécutées simultanément.

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

Paramètres

Retours

L’IApplicationBuilderopérateur

Attributs

S’applique à