Share via


EnableRateLimitingAttribute(String) Constructor

Definition

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.

Applies to