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

Polly.Fallback.FallbackStrategyOptions<TResult>

Represents the options for configuring a fallback resilience strategy with a specific result type.
namespace Polly.Fallback { public class FallbackStrategyOptions<[System.Runtime.CompilerServices.Nullable(2)] TResult> : ResilienceStrategyOptions { public Func<FallbackPredicateArguments<TResult>, ValueTask<bool>> ShouldHandle { get; set; } public Func<FallbackActionArguments<TResult>, ValueTask<Outcome<TResult>>> FallbackAction { get; set; } public Func<OnFallbackArguments<TResult>, ValueTask> OnFallback { get; set; } public FallbackStrategyOptions(); } }