共用方式為


HttpStandardResilienceOptions.CircuitBreaker Property

Definition

Gets or sets the circuit breaker options.

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

Property Value

Attributes

Remarks

By default, this property is initialized with a unique instance of HttpCircuitBreakerStrategyOptions using default properties values.

Applies to