HedgingEndpointOptions.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 进行初始化。

适用于