ConcurrencyLimiterOptions 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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 回應。 |