Class ResiliencePipelineBuilderBase
- Namespace
- Polly
- Assembly
- Polly.Core.dll
A builder that is used to create an instance of ResiliencePipeline.
public abstract class ResiliencePipelineBuilderBase
- Inheritance
-
ResiliencePipelineBuilderBase
- Derived
- Inherited Members
- Extension Methods
Remarks
The builder supports combining multiple strategies into a pipeline of resilience strategies. The resulting instance of ResiliencePipeline executes the strategies in the same order they were added to the builder. The order of the strategies is important.
Properties
InstanceName
Gets or sets the instance name of the builder.
public string? InstanceName { get; set; }
Property Value
Remarks
This property is also included in the telemetry that is produced by the individual resilience strategies. The instance name can be used to differentiate between multiple builder instances with the same Name.
Name
Gets or sets the name of the builder.
public string? Name { get; set; }
Property Value
Remarks
This property is also included in the telemetry that is produced by the individual resilience strategies.