HttpStandardResilienceOptions.RateLimiter 属性

定义

获取或设置隔舱选项。

public:
 property Microsoft::Extensions::Http::Resilience::HttpRateLimiterStrategyOptions ^ RateLimiter { Microsoft::Extensions::Http::Resilience::HttpRateLimiterStrategyOptions ^ get(); void set(Microsoft::Extensions::Http::Resilience::HttpRateLimiterStrategyOptions ^ value); };
[Microsoft.Extensions.Options.ValidateObjectMembers]
[System.ComponentModel.DataAnnotations.Required]
public Microsoft.Extensions.Http.Resilience.HttpRateLimiterStrategyOptions RateLimiter { get; set; }
[<Microsoft.Extensions.Options.ValidateObjectMembers>]
[<System.ComponentModel.DataAnnotations.Required>]
member this.RateLimiter : Microsoft.Extensions.Http.Resilience.HttpRateLimiterStrategyOptions with get, set
Public Property RateLimiter As HttpRateLimiterStrategyOptions

属性值

属性

注解

默认情况下,使用默认属性值使用 的唯 HttpRateLimiterStrategyOptions 一实例初始化此属性。

适用于