<PackageReference Include="Polly" Version="6.0.0-v6alpha0001" />

DelegateResult<TResult>

public class DelegateResult<TResult>
The captured outcome of executing an individual Func<TResult>
using System; namespace Polly { public class DelegateResult<TResult> { private readonly TResult _result; private readonly Exception _exception; public TResult Result => _result; public Exception Exception => _exception; internal DelegateResult(TResult result) { _result = result; } internal DelegateResult(Exception exception) { _exception = exception; } } }