Table of Contents

Namespace Polly

Classes

AdvancedCircuitBreakerSyntax

Fluent API for defining a Circuit Breaker Policy.

AdvancedCircuitBreakerSyntaxAsync

Fluent API for defining a Circuit Breaker Policy.

AdvancedCircuitBreakerTResultSyntax

Fluent API for defining a Circuit Breaker Policy.

AdvancedCircuitBreakerTResultSyntaxAsync

Fluent API for defining a Circuit Breaker Policy.

CircuitBreakerSyntax

Fluent API for defining a Circuit Breaker Policy.

CircuitBreakerSyntaxAsync

Fluent API for defining a Circuit Breaker Policy.

CircuitBreakerTResultSyntax

Fluent API for defining a Circuit Breaker Policy.

CircuitBreakerTResultSyntaxAsync

Fluent API for defining a Circuit Breaker Policy.

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 Context across more than one execution.

DelegateResult<TResult>

The captured outcome of executing an individual Func<TResult>

ExecutionRejectedException

Exception thrown when a Policy rejects execution of a delegate.
More specific exceptions which derive from this type, are generally thrown.

FallbackSyntax

Fluent API for defining a Fallback Policy.

FallbackSyntaxAsync

Fluent API for defining a Fallback Policy.

FallbackTResultSyntax

Fluent API for defining a Fallback Policy.

FallbackTResultSyntaxAsync

Fluent API for defining a Fallback Policy.

Policy

Transient exception handling policies that can be applied to delegates

PolicyBuilder

Builder class that holds the list of current exception predicates.

PolicyBuilder<TResult>

Builder class that holds the list of current execution predicates filtering TResult result values.

PolicyResult

The captured result of executing a policy

PolicyResult<TResult>

The captured result of executing a policy

Policy<TResult>

Transient fault handling policies that can be applied to delegates returning results of type TResult

RetrySyntax

Fluent API for defining a Retry Policy.

RetrySyntaxAsync

Fluent API for defining a Retry Policy.

RetryTResultSyntax

Fluent API for defining a Retry Policy.

RetryTResultSyntaxAsync

Fluent API for defining a Retry Policy.

Interfaces

IAsyncPolicy

An interface defining all executions available on a non-generic, asynchronous policy

IAsyncPolicy<TResult>

An interface defining all executions available on an asynchronous policy generic-typed for executions returning results of type TResult.

ISyncPolicy

An interface defining all executions available on a non-generic, synchronous policy

ISyncPolicy<TResult>

An interface defining all executions available on a synchronous policy generic-typed for executions returning results of type TResult.

IsPolicy

A marker interface identifying Polly policies of all types, and containing properties common to all policies

Enums

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