Class ErrorPolicyChain
A chain of error policies to be sequentially applied.
Inheritance
System.Object
ErrorPolicyChain
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Silverback.Messaging.Inbound.ErrorHandling
Assembly: Silverback.Integration.dll
Syntax
public class ErrorPolicyChain : IErrorPolicy
Constructors
| Improve this doc View sourceErrorPolicyChain(ErrorPolicyBase[])
Initializes a new instance of the ErrorPolicyChain class.
Declaration
public ErrorPolicyChain(params ErrorPolicyBase[] policies)
Parameters
Type | Name | Description |
---|---|---|
ErrorPolicyBase[] | policies | The policies to be chained. |
ErrorPolicyChain(IEnumerable<ErrorPolicyBase>)
Initializes a new instance of the ErrorPolicyChain class.
Declaration
public ErrorPolicyChain(IEnumerable<ErrorPolicyBase> policies)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<ErrorPolicyBase> | policies | The policies to be chained. |
Methods
| Improve this doc View sourceBuild(IServiceProvider)
Declaration
public IErrorPolicyImplementation Build(IServiceProvider serviceProvider)
Parameters
Type | Name | Description |
---|---|---|
System.IServiceProvider | serviceProvider |
Returns
Type | Description |
---|---|
IErrorPolicyImplementation |