<PackageReference Include="Polly.Core" Version="8.0.0-alpha.4" />

CircuitBreakerStrategyOptions<TResult>

public abstract class CircuitBreakerStrategyOptions<TResult> : ResilienceStrategyOptions
The base options for circuit breaker resilience strategy.
public TimeSpan BreakDuration { get; set; }

Gets or sets the duration of break the circuit will stay open before resetting.

Gets or sets the manual control for the circuit breaker.

Gets or sets the event that is raised when the circuit resets to a Closed state.

Gets or sets the event that is raised when when the circuit transitions to an HalfOpen state.

Gets or sets the event that is raised when the circuit transitions to an Open state.

Gets or sets the predicates for the circuit breaker.

Gets or sets the state provider for the circuit breaker.