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)

屬性值

適用於