EnableRateLimitingAttribute(String) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用指定的原則建立 的新實例 EnableRateLimitingAttribute 。
public EnableRateLimitingAttribute(string policyName);
new Microsoft.AspNetCore.RateLimiting.EnableRateLimitingAttribute : string -> Microsoft.AspNetCore.RateLimiting.EnableRateLimitingAttribute
Public Sub New (policyName As String)
參數
- policyName
- String
需要套用的原則名稱。