Interface IResilienceStrategyBuilder
Interface for an object that can build and add a resilience strategy to a resilience pipeline builder.
Namespace: Tableau.Migration.Net.Resilience
Assembly: Tableau.Migration.dll
Syntax
public interface IResilienceStrategyBuilder
Methods
Build(ResiliencePipelineBuilder<HttpResponseMessage>, MigrationSdkOptions, ref Action?)
Adds a resiliance strategy to the pipeline builder.
Declaration
void Build(ResiliencePipelineBuilder<HttpResponseMessage> pipelineBuilder, MigrationSdkOptions options, ref Action? onPipelineDisposed)
Parameters
Type | Name | Description |
---|---|---|
ResiliencePipelineBuilder<HttpResponseMessage> | pipelineBuilder | The resilience pipeline builder to add strategies to. |
MigrationSdkOptions | options | The current SDK options. |
Action | onPipelineDisposed | An action to perform when the pipeline is disposed, or null. Supplied as an out parameter because Microsoft.Extensions.Http.Resilience.ResilienceHandlerContext is not unit test-able. |