EnableRateLimitingAttribute クラス

定義

エンドポイント固有の要求レート制限を提供するメタデータ。

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public sealed class EnableRateLimitingAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)>]
type EnableRateLimitingAttribute = class
    inherit Attribute
Public NotInheritable Class EnableRateLimitingAttribute
Inherits Attribute
継承
EnableRateLimitingAttribute
属性

注釈

エンドポイントに現在適用されているポリシーを置き換えます。 グローバルリミッターは、この属性が適用されたエンドポイントで引き続き実行されます。

コンストラクター

EnableRateLimitingAttribute(String)

指定したポリシーを使用して の EnableRateLimitingAttribute 新しいインスタンスを作成します。

プロパティ

PolicyName

適用する必要があるポリシーの名前。

適用対象