Polly
Namespace with 28 public types
Classes
Context
Context that carries with a single execution through a Policy. Commonly-used properties are directly on the class. Backed by a dictionary of string key / object value pairs, to which user-defined values may be added.
Do not re-use an instance of across more than one execution.
DelegateResult`1
The captured outcome of executing an individual Func<TResult>
PolicyBuilder
Builder class that holds the list of current exception predicates.
PolicyBuilder`1
Builder class that holds the list of current execution predicates filtering TResult result values.
PolicyResult
The captured result of executing a policy
PolicyResult`1
The captured result of executing a policy
Enumerations
ExceptionType
Represents the type of exception resulting from a failed policy
FaultType
Represents the type of outcome from a failed policy
OutcomeType
Represents the outcome of executing a policy
Static Classes
AdvancedCircuitBreakerSyntax
Fluent API for defining a Circuit Breaker .
AdvancedCircuitBreakerSyntaxAsync
Fluent API for defining a Circuit Breaker .
AdvancedCircuitBreakerTResultSyntax
Fluent API for defining a Circuit Breaker .
AdvancedCircuitBreakerTResultSyntaxAsync
Fluent API for defining a Circuit Breaker .
CircuitBreakerSyntax
Fluent API for defining a Circuit Breaker .
CircuitBreakerSyntaxAsync
Fluent API for defining a Circuit Breaker .
CircuitBreakerTResultSyntax
Fluent API for defining a Circuit Breaker .
CircuitBreakerTResultSyntaxAsync
Fluent API for defining a Circuit Breaker .
FallbackSyntax
Fluent API for defining a Fallback .
FallbackSyntaxAsync
Fluent API for defining a Fallback .
FallbackTResultSyntax
Fluent API for defining a Fallback .
FallbackTResultSyntaxAsync
Fluent API for defining a Fallback .
RetrySyntax
Fluent API for defining a Retry .
RetrySyntaxAsync
Fluent API for defining a Retry .
RetryTResultSyntax
Fluent API for defining a Retry .
RetryTResultSyntaxAsync
Fluent API for defining a Retry .
Abstract Classes
ExecutionRejectedException
Exception thrown when a rejects execution of a delegate.
More specific exceptions which derive from this type, are generally thrown.
Policy
Fluent API for defining a .
Policy`1
Transient fault handling policies that can be applied to delegates returning results of type