Table of Contents

Namespace Polly

Classes

CircuitBreakerResiliencePipelineBuilderExtensions

Circuit breaker extensions for ResiliencePipelineBuilder.

ExecutionRejectedException

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

FallbackResiliencePipelineBuilderExtensions

Extensions for adding fallback to ResiliencePipelineBuilder.

HedgingResiliencePipelineBuilderExtensions

Extensions for adding hedging to ResiliencePipelineBuilder.

Outcome

Produces instances of Outcome<TResult>.

PollyServiceCollectionExtensions

Provides extension methods for registering resilience pipelines using the IServiceCollection.

PredicateBuilder

Defines a builder for creating exception predicates.

PredicateBuilder<TResult>

Defines a builder for creating predicates for TResult and Exception combinations.

PredicateResult

Class that represents the results that can be used in predicates.

RateLimiterResiliencePipelineBuilderExtensions

Extensions for adding rate limiting to ResiliencePipelineBuilder.

ResilienceContext

A context assigned to a single execution of ResiliencePipeline. It is created manually or automatically when the user calls the various extensions on top of ResiliencePipeline. After every execution the context should be discarded and returned to the pool.

ResilienceContextPool

The pool of ResilienceContext instances.

ResiliencePipeline

Resilience pipeline is used to execute the user-provided callbacks.

ResiliencePipelineBuilder

A builder that is used to create an instance of ResiliencePipeline.

ResiliencePipelineBuilderBase

A builder that is used to create an instance of ResiliencePipeline.

ResiliencePipelineBuilderExtensions

Extensions for ResiliencePipelineBuilderBase.

ResiliencePipelineBuilder<TResult>

A builder that is used to create an instance of ResiliencePipeline<T>.

ResiliencePipeline<T>

Resilience pipeline is used to execute the user-provided callbacks.

ResilienceProperties

Represents a collection of custom resilience properties.

ResilienceStrategy

Base class for all proactive resilience strategies.

ResilienceStrategyOptions

The options associated with the individual resilience strategy.

ResilienceStrategy<TResult>

This base strategy class is used to simplify the implementation of generic (reactive) strategies by limiting the number of generic types the execute method receives.

RetryResiliencePipelineBuilderExtensions

Extensions for adding retries to ResiliencePipelineBuilder.

StrategyBuilderContext

The context used for building an individual resilience strategy.

TelemetryResiliencePipelineBuilderExtensions

The telemetry extensions for the ResiliencePipelineBuilder.

TimeoutResiliencePipelineBuilderExtensions

Extensions for adding timeout to ResiliencePipelineBuilder.

Structs

Outcome<TResult>

Represents the outcome of an operation which could be a result of type TResult or an exception.

ResilienceContextCreationArguments

Arguments used by the ResilienceContextPool when creating ResilienceContext.

ResiliencePropertyKey<TValue>

Represents a key used by ResilienceProperties.

Enums

DelayBackoffType

The backoff type used by the strategies.