Polly
Namespace with 40 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 call through .Execute(...) or .ExecuteAsync(...).
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 .
IAsyncPolicyExtensions
Contains extensions methods on
IAsyncPolicyPolicyWrapExtensions
Defines extensions for configuring instances on an or .
ISyncPolicyExtensions
Contains extensions methods on
ISyncPolicyPolicyWrapExtensions
Defines extensions for configuring instances on an or .
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
Transient exception handling policies that can
be applied to delegates
Policy`1
Transient fault handling policies that can be applied to delegates returning results of type
PolicyBase
Implements elements common to both non-generic and generic
Interfaces
IAsyncPolicy
An interface defining all executions available on a non-generic, asynchronous policy
IAsyncPolicy`1
An interface defining all executions available on an asynchronous policy generic-typed for executions returning results of type .
IsPolicy
A marker interface identifying Polly policies of all types, and containing properties common to all policies
ISyncPolicy
An interface defining all executions available on a non-generic, synchronous policy
ISyncPolicy`1
An interface defining all executions available on a synchronous policy generic-typed for executions returning results of type .