<PackageReference Include="Polly.Core" Version="8.8.1" />

Polly.Registry.ConfigureBuilderContext<TKey>

public class ConfigureBuilderContext<TKey>
The context used by ResiliencePipelineRegistry<T>.
public TKey PipelineKey { get; }

Gets the pipeline key for the pipeline being created.

public void AddReloadToken(CancellationToken cancellationToken)

Reloads the pipeline when cancellationToken is canceled.

public void OnPipelineDisposed(Action callback)

Registers a callback that is called when the pipeline instance being configured is disposed.