語言

RateLimiterOptions.GlobalLimiter 屬性

定義

取得或設定將套用於所有請求的全域 PartitionedRateLimiter<TResource> 。 全域限制器會先執行,接著是端點專用限制器(若存在)。

public System.Threading.RateLimiting.PartitionedRateLimiter<Microsoft.AspNetCore.Http.HttpContext>? GlobalLimiter { get; set; }
member this.GlobalLimiter : System.Threading.RateLimiting.PartitionedRateLimiter<Microsoft.AspNetCore.Http.HttpContext> with get, set
Public Property GlobalLimiter As PartitionedRateLimiter(Of HttpContext)

屬性值

適用於