HedgingEndpointOptions.CircuitBreaker Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the circuit breaker options for the endpoint.
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 it is initialized with a unique instance of HttpCircuitBreakerStrategyOptions using default properties values.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.