ResilienceStrategyBuilderBase
A builder that is used to create an instance of ResilienceStrategy.
Gets or sets the name of the builder.
Gets or sets the DiagnosticSource that is used by Polly to report resilience events.
Gets or sets the callback that is invoked just before the final resilience strategy is being created.
Gets the custom properties attached to builder options.
public void AddStrategy(Func<ResilienceStrategyBuilderContext, ResilienceStrategy> factory, ResilienceStrategyOptions options)
Adds a strategy to the builder.