EntLibExtensions.ExceptionHandling
1.0.2
dotnet add package EntLibExtensions.ExceptionHandling --version 1.0.2
NuGet\Install-Package EntLibExtensions.ExceptionHandling -Version 1.0.2
<PackageReference Include="EntLibExtensions.ExceptionHandling" Version="1.0.2" />
paket add EntLibExtensions.ExceptionHandling --version 1.0.2
#r "nuget: EntLibExtensions.ExceptionHandling, 1.0.2"
// Install EntLibExtensions.ExceptionHandling as a Cake Addin #addin nuget:?package=EntLibExtensions.ExceptionHandling&version=1.0.2 // Install EntLibExtensions.ExceptionHandling as a Cake Tool #tool nuget:?package=EntLibExtensions.ExceptionHandling&version=1.0.2
Add extension method for ExceptionManager to support exception handling in async actions and functions.
public static async Task<TResult>ProcessAsync<TResult>(this ExceptionManager exceptionManager, string policyName, Func<Task<TResult>> action, TResult defaultValue)
public static async Task ProcessAsync(this ExceptionManager exceptionManager, string policyName, Func<Task> action)
Add "ExceptionPolicyDefinitionFactory" class which is able to create default "ExceptionPolicyDefinition" for implementing exception shielding for component and support customization of it.
1. rethrow all exceptions derived from component base exception <typeparamref name="TBaseException"/>
2. rethrow <see cref="OperationCanceledException"/>
3. wrap generic exceptions to component specific exception <typeparamref name="TBaseException"/>
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. |
-
- EnterpriseLibrary.Common (>= 6.0.1304)
- EnterpriseLibrary.ExceptionHandling (>= 6.0.1304)
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 | 2,620 | 3/24/2017 |
Initial version.