ConcurrencyLimiterOptions 类

定义

注意

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 ref class ConcurrencyLimiterOptions
public class ConcurrencyLimiterOptions
[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 ConcurrencyLimiterOptions
type ConcurrencyLimiterOptions = class
[<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")>]
type ConcurrencyLimiterOptions = class
Public Class ConcurrencyLimiterOptions
继承
ConcurrencyLimiterOptions
属性

构造函数

ConcurrencyLimiterOptions()
已过时.

指定 的选项 ConcurrencyLimiterMiddleware

属性

OnRejected
已过时.

处理 RequestDelegate 此中间件拒绝的请求的 。 如果未修改响应,则将写入空的 503 响应。

适用于