CircuitBreakerPolicy<TResult>
A circuit-breaker policy that can be applied to delegates returning a value of type TResult.
Gets the state of the underlying circuit.
Gets the last exception handled by the circuit-breaker.
This will be null if no exceptions have been handled by the circuit-breaker since the circuit last closed, or if the last event handled by the circuit was a handled TResult value.
Gets the last result returned from a user delegate which the circuit-breaker handled.
This will be default(TResult) if no results have been handled by the circuit-breaker since the circuit last closed, or if the last event handled by the circuit was an exception.
Isolates (opens) the circuit manually, and holds it in this state until a call to Reset is made.
Closes the circuit, and resets any statistics controlling automated circuit-breaking.