EnableRateLimitingAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Metadata that provides endpoint-specific request rate limiting.
[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
- Inheritance
-
EnableRateLimitingAttribute
- Attributes
Remarks
Replaces any policies currently applied to the endpoint. The global limiter will still run on endpoints with this attribute applied.
Constructors
EnableRateLimitingAttribute(String) |
Creates a new instance of EnableRateLimitingAttribute using the specified policy. |
Properties
PolicyName |
The name of the policy which needs to be applied. |