EnableRateLimitingAttribute(String) Constructor
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.
Creates a new instance of EnableRateLimitingAttribute using the specified policy.
public EnableRateLimitingAttribute (string policyName);
new Microsoft.AspNetCore.RateLimiting.EnableRateLimitingAttribute : string -> Microsoft.AspNetCore.RateLimiting.EnableRateLimitingAttribute
Public Sub New (policyName As String)
Parameters
- policyName
- String
The name of the policy which needs to be applied.