<PackageReference Include="Polly" Version="4.2.1" />

PolicyResult<TResult>

public class PolicyResult<TResult>
The captured result of executing a policy
public ExceptionType? ExceptionType { get; }

The exception type of the final exception captured. Will be null if policy executed successfully

public Exception FinalException { get; }

The final exception captured. Will be null if policy executed successfully

public OutcomeType Outcome { get; }

The outcome of executing the policy

public TResult Result { get; }

The result of executing the policy. Will be default(TResult) is the policy failed