DotNetRetryOperationHelper 1.0.2-alpha
dotnet add package DotNetRetryOperationHelper --version 1.0.2-alpha
NuGet\Install-Package DotNetRetryOperationHelper -Version 1.0.2-alpha
<PackageReference Include="DotNetRetryOperationHelper" Version="1.0.2-alpha" />
<PackageVersion Include="DotNetRetryOperationHelper" Version="1.0.2-alpha" />
<PackageReference Include="DotNetRetryOperationHelper" />
paket add DotNetRetryOperationHelper --version 1.0.2-alpha
#r "nuget: DotNetRetryOperationHelper, 1.0.2-alpha"
#addin nuget:?package=DotNetRetryOperationHelper&version=1.0.2-alpha&prerelease
#tool nuget:?package=DotNetRetryOperationHelper&version=1.0.2-alpha&prerelease
Retry Operation Helper is a simple class which encapsulates the retry of any given piece of C# .NET logic a given number of times before failing, as well as running an optional function on failure. It is useful for any call where transient exception are possible, for example, making a call to a remote database or service. See the Project site at https://github.com/Microsoft/RetryOperationHelper. Retry Operation Helper is licensed under the MIT license. RetryOperationHelper uses third-party libraries or other resources that may be distributed under licenses different than RetryOperationHelper.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
1.0.2-alpha | 1,536 | 11/24/2016 |
1.0.1-alpha | 1,290 | 11/24/2016 |
1.0.0-alpha | 1,106 | 11/24/2016 |
Retry Operation Helper is a simple class which encapsulates the retry of any given piece of C# .NET logic a given number of times before failing, as well as running an optional function on failure. It is useful for any call where transient exception are possible, for example, making a call to a remote database or service. See the Project site at https://github.com/Microsoft/RetryOperationHelper. Retry Operation Helper is licensed under the MIT license. RetryOperationHelper uses third-party libraries or other resources that may be distributed under licenses different than RetryOperationHelper.
Usage: example:
Func<Task> func = () => MyClass.MyMethod();
await RetryOperationHelper.ExecuteWithRetry(func, 3);