<PackageReference Include="Polly.Core" Version="8.5.1" />

BrokenCircuitException

Exception thrown when a circuit is broken.
public TimeSpan? RetryAfter { get; }

Gets the amount of time before the circuit can become closed, if known.

Initializes a new instance of the BrokenCircuitException class.

public BrokenCircuitException(TimeSpan retryAfter)

Initializes a new instance of the BrokenCircuitException class.

public BrokenCircuitException(string message)

Initializes a new instance of the BrokenCircuitException class.

public BrokenCircuitException(string message, TimeSpan retryAfter)

Initializes a new instance of the BrokenCircuitException class.

public BrokenCircuitException(string message, Exception inner)

Initializes a new instance of the BrokenCircuitException class.

public BrokenCircuitException(string message, TimeSpan retryAfter, Exception inner)

Initializes a new instance of the BrokenCircuitException class.

Initializes a new instance of the BrokenCircuitException class.