共用方式為


HttpStandardHedgingResilienceOptions.Hedging 屬性

定義

取得或設定 Hedging 策略選項。

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

屬性值

屬性

備註

根據預設,這個屬性會使用預設屬性值,以的唯一實例 HttpHedgingStrategyOptions 初始化。

適用於