Table of Contents

Class ResiliencePipelineBuilder

Namespace
Polly
Assembly
Polly.Core.dll

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

public sealed class ResiliencePipelineBuilder : ResiliencePipelineBuilderBase
Inheritance
ResiliencePipelineBuilder
Inherited Members
Extension Methods

Remarks

The builder supports combining multiple strategies into a pipeline of resilience strategies. The resulting instance of ResiliencePipeline created by the Build() call executes the strategies in the same order they were added to the builder. The order of the strategies is important.

Methods

Build()

Builds the resilience pipeline.

public ResiliencePipeline Build()

Returns

ResiliencePipeline

An instance of ResiliencePipeline.

Exceptions

ValidationException

Thrown when this builder has invalid configuration.