Freigeben über


ConcurrencyLimiterExtensions.UseConcurrencyLimiter Methode

Definition

Achtung

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

Fügt den ConcurrencyLimiterMiddleware hinzu, um die Anzahl gleichzeitig ausgeführter Anforderungen zu begrenzen.

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

Parameter

Gibt zurück

Die IApplicationBuilder.

Attribute

Gilt für: