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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.