共用方式為


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 回應。

適用於