Interface ICircuitBreakerPolicy<TResult>
- Namespace
- Polly.CircuitBreaker
- Assembly
- Polly.dll
Defines properties and methods common to all circuit-breaker policies generic-typed for executions returning results of type TResult
.
public interface ICircuitBreakerPolicy<TResult> : ICircuitBreakerPolicy, IsPolicy
Type Parameters
TResult
- Inherited Members
Properties
LastHandledResult
Gets the last result returned from a user delegate which the circuit-breaker handled.
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.
TResult LastHandledResult { get; }
Property Value
- TResult